X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=tools%2Fscripts%2Fpceminst;fp=tools%2Fscripts%2Fpceminst;h=c0e86607e5bfd296f195f6349c2d3966b3bcca39;hp=30244e206dda896739ab815c647ac1ff48aa4c58;hb=0ce0f59d2afd26e0956716fae169075368020a02;hpb=b49854e0980a030cc8338a7f4ee779ecde1aae38 diff --git a/tools/scripts/pceminst b/tools/scripts/pceminst index 30244e2..c0e8660 100755 --- a/tools/scripts/pceminst +++ b/tools/scripts/pceminst @@ -7,7 +7,7 @@ mntpt=/pcem_dos do_umount=false -if ! ( mount | grep pcem ); then +if ! ( mount | grep pcem >/dev/null ); then mount $mntpt || exit 1 do_umount=true fi