| Date: Fri, 2 Apr 2021 12:05:22 +0100
Quieten some side-effect console output (zlibs/imaging)
Signed-off-by: gryrmln
Diffstat:
M zlibs/imaging | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- |
| t@@ -36,7 +36,7 @@ strapdir_to_image()
-not -path "./dev/*" \
-a -not -path "./proc/*" \
-a -not -path "./sys/*" \
- | sudo cpio -adm -p "$workdir/mnt" || { zerr; return 1; }
+ | sudo cpio --quiet -adm -p "$workdir/mnt" || { zerr; return 1; }
popd
}
t@@ -263,7 +263,7 @@ image_disconnect_raw()
esac
act "Disconnecting"
- sudo partx -dv "$loopdevice" || {
+ sudo partx -dv "$loopdevice" >>/dev/null || {
die "partx failed to remove $loopdevice"
zerr; return 1
} |