Remplacement "grep 1> /dev/null 2>&1" par "grep -q"
[hvlinux.git] / stage2 / hv-utilities / camera-download
index 7271f49..5734b67 100755 (executable)
@@ -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