diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyos-user-postcommit-hooks.sh | 2 | ||||
-rw-r--r-- | scripts/vyos-user-precommit-hooks.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyos-user-postcommit-hooks.sh b/scripts/vyos-user-postcommit-hooks.sh index fd23f82..22298a7 100644 --- a/scripts/vyos-user-postcommit-hooks.sh +++ b/scripts/vyos-user-postcommit-hooks.sh @@ -1,5 +1,5 @@ #!/bin/sh if [ -d /config/scripts/commit/post-hooks.d/ ]; then - /bin/run-parts /config/scripts/commit/post-hooks.d + sg vyattacfg -c "/bin/run-parts /config/scripts/commit/post-hooks.d" fi diff --git a/scripts/vyos-user-precommit-hooks.sh b/scripts/vyos-user-precommit-hooks.sh index cae38db..85b0151 100644 --- a/scripts/vyos-user-precommit-hooks.sh +++ b/scripts/vyos-user-precommit-hooks.sh @@ -1,6 +1,6 @@ #!/bin/sh if [ -d /config/scripts/commit/pre-hooks.d/ ]; then - /bin/run-parts /config/scripts/commit/pre-hooks.d + sg vyattacfg -c "/bin/run-parts /config/scripts/commit/pre-hooks.d" fi |