Skip to content

Commit d0077b8

Browse files
committed
Use var instead of string
1 parent fe788e6 commit d0077b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ upgrade_rainloop(){
675675
}
676676

677677
disable_api(){
678-
if [ "API" = "no" ]; then
678+
if [ "$API" = "no" ]; then
679679
echo "[ ! ] Disable Api..."
680680
sed -i 's|//die("Error: Disabled");|die("Error: Disabled");|g' $HESTIA/web/api/index.php
681681
fi

0 commit comments

Comments
 (0)