diff options
Diffstat (limited to 'setupdisk.sh')
-rw-r--r-- | setupdisk.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setupdisk.sh b/setupdisk.sh index b6c4226..b79f27f 100644 --- a/setupdisk.sh +++ b/setupdisk.sh @@ -20,7 +20,8 @@ p w q EOF -if [[ "$?" -ne 0 ]]; then +retval=$? +if [[ "$retval" -ne 0 ]]; then printf "%b" " ${IGRN}Creating partition ${IWHT}${LFS_DISK}${LFS_PART} \ ${IRED}FAILED!${RST}\n" exit 1 |