diff options
-rwxr-xr-x | kamikaze-fsck | 4 |
1 files changed, 1 insertions, 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 |