summaryrefslogtreecommitdiff
path: root/setup-disk.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-disk.in')
-rw-r--r--setup-disk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-disk.in b/setup-disk.in
index a748b98..6400b3b 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -1507,10 +1507,10 @@ if [ -d "$1" ]; then
fi
reset_var
-swapoff -a
+$MOCK swapoff -a
# stop all volume groups in use
-vgchange --ignorelockingfailure -a n >/dev/null 2>&1
+$MOCK vgchange --ignorelockingfailure -a n >/dev/null 2>&1
if [ -n "$USE_RAID" ]; then
stop_all_raid