Skip to content

Commit d7ac1ed

Browse files
committed
Fix logic in frontail prompt check
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
1 parent 2bee75e commit d7ac1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/nodejs-apps.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ frontail_remove() {
8282
frontailBase="$(npm list -g | head -n 1)/node_modules/frontail"
8383

8484
if ! dpkg --compare-versions "$(sed -n 's/openhab-distro\s*: //p' /var/lib/openhab/etc/version.properties)" gt "4.3.0"; then return 0; fi
85-
if [[ -z $INTERACTIVE ]] || [[ -n $frontail_remove ]]; then return 0; fi
85+
if [[ -z $INTERACTIVE ]] || [[ $frontail_remove == "true" ]]; then return 0; fi
8686

8787

8888
if [[ -d $frontailBase ]] || [[ -d $frontailDir ]]; then

0 commit comments

Comments
 (0)