We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79d871 commit 77ad4ffCopy full SHA for 77ad4ff
CHANGELOG.md
@@ -1,5 +1,9 @@
1
# Changelog
2
3
+### 1.0.5 - Bugfix
4
+
5
+- Fixed bug when running hooks (#3)
6
7
### 1.0.4 - IPv6 docs, improved wizards
8
9
- Added instructions for IPv6 configuration
root/app/bin/run_hooks
@@ -40,8 +40,9 @@ for script in $OVPN_HOOKS/$1/*; do
40
[ -e "$script" ] || continue
41
42
# Execute only executable files
43
- if [ -f "$script" ] || [ -x "$script" ] || true; then
+ if [ -f "$script" ] && [ -x "$script" ]; then
44
# Run script and pass additional args to hooks
45
+ echo "Executing hook: $script"
46
if [ $# -gt 2 ]; then
47
$script ${@:2}
48
else
0 commit comments