diff options
Diffstat (limited to 'buildlib.sh')
-rw-r--r-- | buildlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlib.sh b/buildlib.sh index 4346877f..8509a2b8 100644 --- a/buildlib.sh +++ b/buildlib.sh @@ -194,7 +194,7 @@ function resize_image() echo -e "\n\e[1m[ Resize Image ]\e[0m" fallocate -l$SIZE "$IMG" parted "$IMG" -- resizepart 2 -1s - DEV="$( losetup -f )" + DEV="$( sudo losetup -f )" mount_raspbian "$IMG" sudo resize2fs -f "$DEV" echo "Image resized" |