aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xextlinux/main.c2
-rwxr-xr-xlinux/syslinux.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/extlinux/main.c b/extlinux/main.c
index a541e38a..002cecd9 100755
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -809,7 +809,7 @@ int main(int argc, char *argv[])
{
parse_options(argc, argv, MODE_EXTLINUX);
- if (!opt.directory || opt.install_mbr || opt.activate_partition || opt.force)
+ if (!opt.directory || opt.install_mbr || opt.activate_partition)
usage(EX_USAGE, 0);
if (opt.update_only == -1) {
diff --git a/linux/syslinux.c b/linux/syslinux.c
index 9807bdf0..97b6a306 100755
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -273,7 +273,7 @@ int main(int argc, char *argv[])
subdir = "/";
}
- if (!opt.device || opt.install_mbr || opt.activate_partition || opt.force)
+ if (!opt.device || opt.install_mbr || opt.activate_partition)
usage(EX_USAGE, MODE_SYSLINUX);
/*