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