summaryrefslogtreecommitdiffstats
path: root/sbin/shutdown/shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/shutdown/shutdown.c')
-rw-r--r--sbin/shutdown/shutdown.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index e94e096..2a915c3 100644
--- a/sbin/shutdown/shutdown.c
+++ b/sbin/shutdown/shutdown.c
@@ -138,11 +138,6 @@ main(argc, argv)
if (argc < 1)
usage();
- if (nosync) {
- (void)fprintf(stderr,
- "shutdown: incompatible switches -f and -n.\n");
- usage();
- }
if (doreboot && dohalt) {
(void)fprintf(stderr,
"shutdown: incompatible switches -h and -r.\n");
OpenPOWER on IntegriCloud