2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-11 17:04:17 +00:00

Revise error handling for function getdisksize()

This commit is contained in:
GONG Jie
2019-04-17 15:36:38 +08:00
parent b2dd4a5a56
commit 6e6a020978
@@ -214,7 +214,7 @@ getdisksize()
disk="${disk#/dev/}"
[ -z "${disk}" ] && return
[ -z "${disk}" ] && echo "0" && return
local blah
local blocks