From dd2b31cbeff58a6377d31c58d165bb9d6d31d3c6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 31 Jul 2019 14:06:09 +0200 Subject: kamikaze-fsck: do not kill -9 e2fsck --- kamikaze-fsck | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kamikaze-fsck b/kamikaze-fsck index 222b3f5..6ab7dd6 100755 --- a/kamikaze-fsck +++ b/kamikaze-fsck @@ -55,11 +55,9 @@ while [ -f "${tmp_dir}/faulty-inode" ]; do >&2 date pkill -xf "e2fsck -f -y $1 -E no_optimize_extents,fixes_only -C 0" - sleep 20 - >&2 date - pkill -9 -xf "e2fsck -f -y $1 -E no_optimize_extents,fixes_only -C 0" while pgrep -xf "e2fsck -f -y $1 -E no_optimize_extents,fixes_only -C 0"; do sleep 1 + >&2 date done break fi -- cgit v1.2.3-70-g09d2