Skip to content

Commit cc42865

Browse files
authored
Command missing path (hestiacp#1383)
/usr/local/hestia/func/upgrade.sh: line 295: v-list-user: command not found
1 parent 1eef977 commit cc42865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

func/upgrade.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ upgrade_send_notification_to_email () {
292292

293293
upgrade_send_log_to_email() {
294294
if [ "$UPGRADE_SEND_EMAIL_LOG" = "true" ]; then
295-
admin_email=$(v-list-user admin json | grep "CONTACT" | cut -d'"' -f4)
295+
admin_email=$($BIN/v-list-user admin json | grep "CONTACT" | cut -d'"' -f4)
296296
send_mail="$HESTIA/web/inc/mail-wrapper.php"
297297
cat $LOG | $send_mail -s "Update Installation Log - v${new_version}" $admin_email
298298
fi
@@ -764,4 +764,4 @@ upgrade_restart_services() {
764764
upgrade_perform_cleanup() {
765765
# Remove upgrade configuration file as it's not needed
766766
rm -f $HESTIA_INSTALL_DIR/upgrade/upgrade.conf
767-
}
767+
}

0 commit comments

Comments
 (0)