X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage2%2Fhv-utilities%2Fcamera-download;h=5734b6747b6d9654ccfd1b9e9d8702195e328491;hb=564ec1bbb321286571c30da20b81620c33b18e6f;hp=7271f49729a5710146bc4b4982450426da0d1f8b;hpb=16c81190b3ca1da2e26645020dd3cb9f8625521c;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