Skip to content

Commit 0732c2c

Browse files
Fixed bug
1 parent 6d7fb7b commit 0732c2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

etc/scripts/hippo/hippo.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ function __verify_bin_path()
6666
BINPATH="${SHELL}"
6767

6868
if [ -z "$BINPATH" ]; then
69-
if [ "$BINPATH" == "/data/data/com.termux/files/*" ]; then
69+
if [ "$BINPATH" != "/data/data/com.termux/files/*" ]; then
7070
msg "This has to be done inside termux environment"
7171
die "\$SHELL != $BINPATH"
72+
exit 1
7273
fi
7374
fi
7475
}
@@ -238,4 +239,4 @@ if [ $# -ge 1 ]; then
238239
esac
239240
else
240241
_lauch_or_install "$@"
241-
fi
242+
fi

0 commit comments

Comments
 (0)