mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-10 02:23:53 +08:00
fix: Check if file exists
This commit is contained in:
parent
0c28ebd4ba
commit
b18c9383ff
@ -22,7 +22,7 @@ if [ -n "$URL" ]; then
|
|||||||
if [ -s "$STORAGE/$BASE.pat" ]; then
|
if [ -s "$STORAGE/$BASE.pat" ]; then
|
||||||
URL="file://$STORAGE/$BASE.pat"
|
URL="file://$STORAGE/$BASE.pat"
|
||||||
else
|
else
|
||||||
error "File $STORAGE/$BASE.pat does not exist" && exit 65
|
error "File $STORAGE/$BASE.pat does not exist!" && exit 65
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user