Whamcloud - gitweb
e2scrub, e2scrub_all: don't sleep unnecessarily in exitcode
authorTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jan 2020 21:01:23 +0000 (16:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 Jan 2020 21:01:23 +0000 (16:01 -0500)
commit0b3208958eb63df6cd8b38ee63f3bc4266a683e7
treeb8a9fa84623ad5165710b10af988384586f2a1d0
parentd6e63732217b1db0bc915a26deda0ae5d1507fc8
e2scrub, e2scrub_all: don't sleep unnecessarily in exitcode

The two second sleep is only needed in e2scrub, and when there is a
failure, so that systemd has a chance to gather the log output before
e2scrub exits.  It's not needed if the script is exiting successfully,
and it's never needed for e2scrub_all ever.

Addresses-Debian-Bug: #948193
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub.in
scrub/e2scrub_all.in