mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
-n was broken
2.2 candidate (probably)
This commit is contained in:
parent
b5b673ff99
commit
3cf6d2e792
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21931
@ -138,11 +138,6 @@ main(argc, argv)
|
|||||||
if (argc < 1)
|
if (argc < 1)
|
||||||
usage();
|
usage();
|
||||||
|
|
||||||
if (nosync) {
|
|
||||||
(void)fprintf(stderr,
|
|
||||||
"shutdown: incompatible switches -f and -n.\n");
|
|
||||||
usage();
|
|
||||||
}
|
|
||||||
if (doreboot && dohalt) {
|
if (doreboot && dohalt) {
|
||||||
(void)fprintf(stderr,
|
(void)fprintf(stderr,
|
||||||
"shutdown: incompatible switches -h and -r.\n");
|
"shutdown: incompatible switches -h and -r.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user