summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-04-25 20:40:38 +0200
committerErich Eckner <git@eckner.net>2022-04-25 20:42:41 +0200
commita74ad9c660c87a7dcf83d9a83aa740d6107e789a (patch)
tree12d52c201a389d1bd51ca9c7e80226d997b1ec59
parentf439fb764836a525fd086132aa40ea657ee9cf89 (diff)
downloadshutdownasap-a74ad9c660c87a7dcf83d9a83aa740d6107e789a.tar.xz
shutdownasap: do not shut down during reshape
-rwxr-xr-xshutdownasap.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdownasap.in b/shutdownasap.in
index 1cb8d4e..2901e8f 100755
--- a/shutdownasap.in
+++ b/shutdownasap.in
@@ -108,7 +108,7 @@ do
-exec grep -HvxF "$(printf '%s\n' 'clean' 'active')" {} + \
, \
-name 'sync_action' \
- -exec grep -HxF 'recover' {} + \
+ -exec grep -HxF "$(printf '%s\n' 'recover' 'reshape')" {} + \
, \
-name 'degraded' \
-exec grep -HvxF '0' {} +