aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/syslinux.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c
index bd3c555c..d8b31491 100644
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -399,8 +399,10 @@ int main(int argc, char *argv[])
sync();
rmdir(mntpath);
exit(0);
- } else
- usage(EX_USAGE, MODE_SYSLINUX);
+ } else {
+ fprintf(stderr, "%s: please specify --install or --update for the future\n", argv[0]);
+ opt.update_only = 0;
+ }
}
/* Read a pre-existing ADV, if already installed */