# Commit hooks not running

**URL:** <https://forum.vyos.io/t/commit-hooks-not-running/10137>\
**Category:** Bugs\
**Tags:** vyos\
**Created:** [January 1, 2023, 1:30am UTC](https://forum.vyos.io/t/commit-hooks-not-running/10137 "2023-01-01T01:30:38Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![roedie](https://forum.vyos.io/user_avatar/forum.vyos.io/roedie/32/5295_2.png) [@roedie](https://forum.vyos.io/u/roedie)\
**Post date:** [January 1, 2023, 11:23am UTC](https://forum.vyos.io/t/commit-hooks-not-running/10137/3 "2023-01-01T11:23:40Z")

</div>

Ah, I just saw that you show the name of your script. My script is called `test` and contains the following:

```auto
#!/bin/vbash
if ["$(id -g -n)" != 'vyattacfg'] ; then
    exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
fi

echo "pipo"

```

Could you test by renaming your script?

---

_[View the full topic](https://forum.vyos.io/t/commit-hooks-not-running/10137)._
