aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pc-sysinstall
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2016-03-12 23:04:10 +0000
committerAlexander Motin <mav@FreeBSD.org>2016-03-12 23:04:10 +0000
commit2c4f4af7a89c7d0c466a8db37a81b3b402be4b49 (patch)
tree2f304d83a9d5ce3791a7f873cd81e627aa413ced /usr.sbin/pc-sysinstall
parent5405e7e2ee49d15d34cd0ce4584ddab9ef43ee2a (diff)
Notes
Diffstat (limited to 'usr.sbin/pc-sysinstall')
-rwxr-xr-xusr.sbin/pc-sysinstall/backend/functions-disk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pc-sysinstall/backend/functions-disk.sh b/usr.sbin/pc-sysinstall/backend/functions-disk.sh
index 0a2cd265a822..03b6cde7d5f1 100755
--- a/usr.sbin/pc-sysinstall/backend/functions-disk.sh
+++ b/usr.sbin/pc-sysinstall/backend/functions-disk.sh
@@ -619,9 +619,9 @@ wipe_metadata()
local SIZE="`diskinfo ${1} | awk '{print int($3/(1024*1024)) }'`"
if [ "$SIZE" -gt "5" ] ; then
rc_halt "dd if=/dev/zero of=${1} bs=1m count=1"
- rc_halt "dd if=/dev/zero of=${1} bs=1m oseek=$((SIZE-4))"
+ rc_nohalt "dd if=/dev/zero of=${1} bs=1m oseek=$((SIZE-4))"
else
- rc_halt "dd if=/dev/zero of=${1} bs=128k"
+ rc_nohalt "dd if=/dev/zero of=${1} bs=128k"
fi
} ;