Ver Fonte

Add missing global variable 'SCRIPT' required by v-restart-* scripts

Robert Zollner há 6 anos atrás
pai
commit
6a01d81d54
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      func/main.sh

+ 1 - 0
func/main.sh

@@ -18,6 +18,7 @@ SENDMAIL="$HESTIA/web/inc/mail-wrapper.php"
 HESTIA_GIT_REPO="https://raw.githubusercontent.com/hestiacp/hestiacp"
 HESTIA_THEMES="$HESTIA/themes"
 HESTIA_THEMES_CUSTOM="$HESTIA/data/templates/themes"
+SCRIPT="$(basename $0)"
 
 # Return codes
 OK=0