From: Michael Tremer Date: Fri, 2 Jan 2015 15:38:10 +0000 (+0000) Subject: zone: Allow creating configs which do not require arguments X-Git-Tag: 007~31^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=51492358de957633b906e2d5866305b1188d390d;p=network.git zone: Allow creating configs which do not require arguments --- diff --git a/src/header-zone b/src/header-zone index db579965..9a25c0eb 100644 --- a/src/header-zone +++ b/src/header-zone @@ -200,7 +200,7 @@ function hook_config_cmd() { } function hook_config_create() { - assert [ $# -gt 2 ] + assert [ $# -ge 2 ] hook_config_cmd "create" "$@" }