diff options
-rwxr-xr-x | modules.d/slx-dmsetup/hooks/s3-grow-rootfs.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules.d/slx-dmsetup/hooks/s3-grow-rootfs.sh b/modules.d/slx-dmsetup/hooks/s3-grow-rootfs.sh index b93c5658..cf78eabb 100755 --- a/modules.d/slx-dmsetup/hooks/s3-grow-rootfs.sh +++ b/modules.d/slx-dmsetup/hooks/s3-grow-rootfs.sh @@ -40,6 +40,5 @@ resize_rootfs() { return 0 } -[ -b "$SLX_DNBD3_DEVICE_COW" ] && resize_rootfs -# non-critical, so always fake success -true +[ -b "$SLX_DNBD3_DEVICE_COW" ] || exit 0 +resize_rootfs |