blktap scripts: deletion of double check and permission of using /dev/sdxx
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 18 Jul 2008 10:21:06 +0000 (11:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 18 Jul 2008 10:21:06 +0000 (11:21 +0100)
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
tools/examples/blktap

index 91d3f8994e4e986026755e9b1ef4c32fc51a6d80..01a0f6c6daa6ead44ba42adcb96743410a53494e 100644 (file)
@@ -69,7 +69,6 @@ fi
 if [ -L "$p" ]; then
     file=$(readlink -f "$p") || fatal "$p link does not exist."
 else
-    [ -f "$p" ] || { fatal "$p file does not exist."; }
     file="$p"
 fi