]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.hook
network fix parameter passing when using ""
[people/stevee/network.git] / src / functions / functions.hook
index b8049db5b7a62336e6bcb522407dcc790db71086..601baee5c493b45381faaf904c2f1e1b5831ae2e 100644 (file)
@@ -155,11 +155,11 @@ config_get_hook() {
 }
 
 hook_zone_exists() {
-       hook_exists zone $@
+       hook_exists zone "$@"
 }
 
 hook_zone_exec() {
-       hook_exec zone $@
+       hook_exec zone "$@"
 }
 
 hook_zone_get_all() {
@@ -167,11 +167,11 @@ hook_zone_get_all() {
 }
 
 hook_config_exists() {
-       hook_exists config $@
+       hook_exists config "$@"
 }
 
 hook_config_exec() {
-       hook_exec config $@
+       hook_exec config "$@"
 }
 
 hook_config_get_all() {