]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/hooks/configs/ipv4-static
Rectify config creation
[people/stevee/network.git] / src / hooks / configs / ipv4-static
index 9f9b3de38ca75c5ad0fca306425a2f25c939447a..ceec9fe72f314a2ea9b4fc484fdd9b1f412644d0 100644 (file)
@@ -34,7 +34,8 @@ function hook_check() {
 }
 
 function hook_create() {
-       local zone=${1}
+       local zone="${1}"
+       assert isset zone
        shift
 
        while [ $# -gt 0 ]; do