mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-07 17:07:58 +08:00
feat: Disable debugging
This commit is contained in:
parent
c9c779b380
commit
3ee72e23d5
@ -60,8 +60,6 @@ rm -f "$STORAGE/$BASE.agent"
|
|||||||
rm -f "$STORAGE/$BASE.boot.img"
|
rm -f "$STORAGE/$BASE.boot.img"
|
||||||
rm -f "$STORAGE/$BASE.system.img"
|
rm -f "$STORAGE/$BASE.system.img"
|
||||||
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && set -x
|
|
||||||
|
|
||||||
# Check filesystem
|
# Check filesystem
|
||||||
FS=$(stat -f -c %T "$STORAGE")
|
FS=$(stat -f -c %T "$STORAGE")
|
||||||
|
|
||||||
@ -399,8 +397,5 @@ fi
|
|||||||
mv -f "$BOOT" "$STORAGE/$BASE.boot.img"
|
mv -f "$BOOT" "$STORAGE/$BASE.boot.img"
|
||||||
rm -rf "$TMP"
|
rm -rf "$TMP"
|
||||||
|
|
||||||
{ set +x; } 2>/dev/null
|
|
||||||
[[ "$DEBUG" == [Yy1]* ]] && echo
|
|
||||||
|
|
||||||
html "Installation finished successfully..."
|
html "Installation finished successfully..."
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user