X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fhv-utilities%2Fcamera-download;h=5734b6747b6d9654ccfd1b9e9d8702195e328491;hb=79d4bc8fa7a701164b00fb3f1f5d04e916041fd4;hp=7271f49729a5710146bc4b4982450426da0d1f8b;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/hv-utilities/camera-download b/stage2/hv-utilities/camera-download index 7271f49..5734b67 100755 --- a/stage2/hv-utilities/camera-download +++ b/stage2/hv-utilities/camera-download @@ -39,7 +39,7 @@ if [ $# -ne 0 ]; then fi -if ! mount | grep ${MOUNTPOINT} 1> /dev/null 2>&1; then +if ! mount | grep -q ${MOUNTPOINT}; then mount ${MOUNTPOINT} || exit 1 fi