mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fix up start and stop state
Merge of master-melb:xfs-cmds:23621a by kenmcd. fix up start and stop state
This commit is contained in:
+3
-1
@@ -317,6 +317,8 @@ do
|
||||
_log " (user=$USER, host=$HOST)"
|
||||
new_state=""
|
||||
|
||||
start_state=$state
|
||||
|
||||
case $state
|
||||
in
|
||||
*init)
|
||||
@@ -581,7 +583,7 @@ do
|
||||
if [ -n "$stop_state" ]
|
||||
then
|
||||
# remove hyphen prefixes
|
||||
s1=`echo $state | sed 's/.*-//'`
|
||||
s1=`echo $start_state | sed 's/.*-//'`
|
||||
s2=`echo $stop_state | sed 's/.*-//'`
|
||||
|
||||
if [ $s1 = $s2 ]
|
||||
|
||||
Reference in New Issue
Block a user