From a74ad9c660c87a7dcf83d9a83aa740d6107e789a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 25 Apr 2022 20:40:38 +0200 Subject: shutdownasap: do not shut down during reshape --- shutdownasap.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' {} + -- cgit v1.2.3-70-g09d2