libdevuansdk

common library for devuan's simple distro kits
git clone https://git.parazyd.org/libdevuansdk
Log | Files | Refs | Submodules | README | LICENSE

commit 424a3966d2e95d2ee967ae4226393803c4628c8f
parent 25a86b7428eabe0ab7f3a45daa76ff84a07af450
Author: gryrmln <gryrmln@localhost>
Date:   Fri,  2 Apr 2021 12:05:22 +0100

Quieten some side-effect console output (zlibs/imaging)

Signed-off-by: gryrmln <gryrmln@localhost>

Diffstat:
Mzlibs/imaging | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zlibs/imaging b/zlibs/imaging @@ -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 } @@ -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 }