diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-09 16:48:01 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-09 16:48:01 +0100 |
commit | 78eba7665565690faccef21f721e94143b5abf7f (patch) | |
tree | 9968eca0c7cad68bfba1fc535c785291f9178922 | |
parent | 44bdb55ce2a8d835c18028fc47bac647f8b2fa96 (diff) | |
download | alpine-conf-78eba7665565690faccef21f721e94143b5abf7f.zip |
setup-disk: mock swapoff and vgchange
we dont dont that for real when testing
-rw-r--r-- | setup-disk.in | 4 |
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 |