summaryrefslogtreecommitdiffstats
path: root/ebtables.c
diff options
context:
space:
mode:
Diffstat (limited to 'ebtables.c')
-rw-r--r--ebtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebtables.c b/ebtables.c
index 0c47526..f0e0ab9 100644
--- a/ebtables.c
+++ b/ebtables.c
@@ -1863,7 +1863,7 @@ int main(int argc, char *argv[])
int udc_nr;
if (!optarg && (optind >= argc ||
- (argv[optind][0] != '-'
+ (argv[optind][0] == '-'
&& strcmp(argv[optind], "!")))) {
delete_all_user_chains();
break;