Skip to content

Commit

Permalink
Merge branch 'master' of github.com:HclX/WyzeHacks
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan committed Jul 11, 2021
2 parents 8bb892d + 1a1428f commit 8bae101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wyze_hack/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ check_nfs() {
TIMEOUT_ARGS="$NFS_TIMEOUT"
fi

if ! timeout $TIMEOUT_ARGS df /media/mmcblk0p1 > /dev/null 2>&1;
if ! timeout $TIMEOUT_ARGS ls /media/mmcblk0p1 > /dev/null 2>&1;
then
echo "WyzeHack: NFS no longer mounted as /media/mmcblk0p1"
return 1
Expand Down

0 comments on commit 8bae101

Please sign in to comment.