mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-25 12:02:01 +01:00
Have -n imply -r, since dry-run mode obviously doesn't require root
privileges. Approved by: rstone (co-mentor) MFC after: 1 week
This commit is contained in:
parent
220936938f
commit
468d206524
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244996
@ -125,7 +125,9 @@ reasons for either trimming that log or skipping it.
|
||||
Cause
|
||||
.Nm
|
||||
not to trim the logs, but to print out what it would do if this option
|
||||
were not specified.
|
||||
were not specified. This option implies the
|
||||
.Fl r
|
||||
option.
|
||||
.It Fl r
|
||||
Remove the restriction that
|
||||
.Nm
|
||||
|
@ -644,7 +644,7 @@ parse_args(int argc, char **argv)
|
||||
break;
|
||||
case 'n':
|
||||
noaction++;
|
||||
break;
|
||||
/* FALLTHROUGH */
|
||||
case 'r':
|
||||
needroot = 0;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user