]> git.ipfire.org Git - people/stevee/network.git/commitdiff
zone: Allow creating configs which do not require arguments
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jan 2015 15:38:10 +0000 (15:38 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Jan 2015 15:38:10 +0000 (15:38 +0000)
src/header-zone

index db57996585afdf58f2bc0a5a335c50b60aba2ce1..9a25c0ebab4a854cb16b58d70a74b9da7b2f3fe8 100644 (file)
@@ -200,7 +200,7 @@ function hook_config_cmd() {
 }
 
 function hook_config_create() {
-       assert [ $# -gt 2 ]
+       assert [ $# -ge 2 ]
 
        hook_config_cmd "create" "$@"
 }