summaryrefslogtreecommitdiff
path: root/scripts/vyos-user-postcommit-hooks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyos-user-postcommit-hooks.sh')
-rw-r--r--scripts/vyos-user-postcommit-hooks.sh2
1 files changed, 1 insertions, 1 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