Skip to content

Commit

Permalink
fix: false positive busybox not found msg; close #3
Browse files Browse the repository at this point in the history
Signed-off-by: Azriel Akbar Ferry Ardiansyah Kusumawardhana <[email protected]>
  • Loading branch information
FerryAr committed Feb 18, 2023
1 parent 85784c2 commit 6bc4446
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions system/bin/lhroot
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ ls /data >/dev/null 2>&1 || { echo "$ID needs to run as root!"; echo "type 'su'
MODDIR="$MOUNTPATH/$ID"
[ ! -d $MODDIR ] && { echo "Module not detected!"; exit 1; }

# Set path to your busybox if applicable
_bb=
if command -v busybox &> /dev/null
then
_bb=$(command -v busybox)
fi

# Set directory for each chroot
alpine="/data/alpine"
Expand Down

0 comments on commit 6bc4446

Please sign in to comment.