commit 780af30ebafa7bc469c57c0494750312f973f2c6
parent 3134bfaf878aed2f16206a111d44bd820561c94e
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sun, 4 Oct 2015 01:42:12 +0200
progress info
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shrinkimg b/shrinkimg
@@ -51,12 +51,12 @@ esac
OSPACE=$(du -h "$TEMP" |cut -f1)
-chronic e2fsck -fn "$TEMP" || {
+e2fsck -C0 -tt -fn "$TEMP" || {
echo "e2fsck errors in $TEMP, please fix"
echo "aborting WITHOUT removing $TEMP"
exit 2
}
-chronic resize2fs -M "$TEMP" || {
+resize2fs -p -M "$TEMP" || {
echo "error when resizing $TEMP";
echo "aborting WITHOUT removing $TEMP"
exit 3