Skip to content

Commit 6a01d81

Browse files
committed
Add missing global variable 'SCRIPT' required by v-restart-* scripts
1 parent fe045c5 commit 6a01d81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

func/main.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ SENDMAIL="$HESTIA/web/inc/mail-wrapper.php"
1818
HESTIA_GIT_REPO="https://raw.githubusercontent.com/hestiacp/hestiacp"
1919
HESTIA_THEMES="$HESTIA/themes"
2020
HESTIA_THEMES_CUSTOM="$HESTIA/data/templates/themes"
21+
SCRIPT="$(basename $0)"
2122

2223
# Return codes
2324
OK=0

0 commit comments

Comments
 (0)