File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ def setup_backup_dir(self):
397
397
print (f"Failed. " , end = "" )
398
398
self .logger .debug (f"Failed to check backup dir { backup_dir } : { reason } " )
399
399
sys .stdout .flush ()
400
- r = self .shell .no_or_yes ("Retry?" )
400
+ r = self .shell .yes_or_no ("Retry?" )
401
401
if r == "no" :
402
402
self .node_manager .down ()
403
403
raise FatalError ("Backup directory not available" )
@@ -459,7 +459,7 @@ def setup_restore_dir(self) -> None:
459
459
print (f"Path not available. " , end = "" )
460
460
self .logger .info (f"Failed to check restore dir { restore_dir } : { reason } " )
461
461
sys .stdout .flush ()
462
- r = self .shell .yes_or_no ("Do you wish to continue WITHOUT restoring channel balance, keys and historical data?" )
462
+ r = self .shell .no_or_yes ("Do you wish to continue WITHOUT restoring channel balance, keys and historical data?" )
463
463
if r == "yes" :
464
464
restore_dir = "/tmp/fake-backup"
465
465
break
You can’t perform that action at this time.
0 commit comments