Partitions are no regular files. The check for mere existence shall
suffice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f515ed5f77
commit
21873fffb3
@ -84,7 +84,7 @@ if [ $isImage ]; then
|
||||
echo
|
||||
if [ ! $updateOnly ]; then
|
||||
echo "Creating image ..."
|
||||
if [ ! -f $imagePath -o ! "$dontClearImage" ]; then
|
||||
if [ ! -e $imagePath -o ! "$dontClearImage" ]; then
|
||||
dd if=/dev/zero of=$imagePath bs=1048576 count=$imageSize
|
||||
fi
|
||||
$bfsShell --initialize $imagePath Haiku
|
||||
|
Loading…
Reference in New Issue
Block a user