diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-22 20:36:31 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-22 20:36:31 +0200 |
commit | cbe60ef06e7394db11170d19f900b023142c7431 (patch) | |
tree | e3e3d892764e05080ca75798b268969212b091c5 /main.c | |
parent | d43ef1c772bdb5993138aed523e058664594f3e6 (diff) | |
parent | d330a2bdc9d6892dc55ce8f5d299196f32ab1003 (diff) | |
download | egawk-cbe60ef06e7394db11170d19f900b023142c7431.tar.gz egawk-cbe60ef06e7394db11170d19f900b023142c7431.tar.bz2 egawk-cbe60ef06e7394db11170d19f900b023142c7431.zip |
Merge branch 'master' into feature/readall
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -368,8 +368,12 @@ main(int argc, char **argv) } } - if (do_lint && os_is_setuid()) - lintwarn(_("running %s setuid root may be a security problem"), myname); + if (do_lint) { + if (os_is_setuid()) + lintwarn(_("running %s setuid root may be a security problem"), myname); + if (do_intervals) + lintwarn(_("The -r/--re-interval options no longer have any effect")); + } if (do_debug) /* Need to register the debugger pre-exec hook before any other */ init_debug(); @@ -1688,6 +1692,8 @@ parse_args(int argc, char **argv) break; case 'r': + // This no longer has any effect. It remains for the + // lint check in main(). do_flags |= DO_INTERVALS; break; |