]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/header-zone
zone: Allow creating configs which do not require arguments
[people/stevee/network.git] / 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" "$@"
 }