Skip to content

Commit dc3704e

Browse files
author
Kristan Kenney
committed
Fix missing includes
1 parent 1249dcc commit dc3704e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

bin/v-list-sys-mail-status

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,17 @@
1515
# Argument definition
1616
#format=${1-shell}
1717

18+
# Importing system environment as we run this script
19+
# mostly by cron wich do not read it by itself
20+
source /etc/profile
21+
1822
# Includes
23+
# shellcheck source=/usr/local/hestia/func/main.sh
24+
source $HESTIA/func/main.sh
1925
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2026
source $HESTIA/conf/hestia.conf
2127

28+
2229
#----------------------------------------------------------#
2330
# Action #
2431
#----------------------------------------------------------#

bin/v-list-sys-web-status

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@
1515
# Argument definition
1616
#format=${1-shell}
1717

18+
# Importing system environment as we run this script
19+
# mostly by cron wich do not read it by itself
20+
source /etc/profile
21+
1822
# Includes
23+
# shellcheck source=/usr/local/hestia/func/main.sh
24+
source $HESTIA/func/main.sh
1925
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2026
source $HESTIA/conf/hestia.conf
2127

0 commit comments

Comments
 (0)