From 5b5c99e6f85fd27b683fd788a5e56905818eee09 Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Wed, 12 Jun 2019 15:48:11 -0600 Subject: [PATCH] Don't kill current tmux session from ddrescue-tui * Just kill the panes and let launch-in-tmux handle the session --- .bin/Scripts/functions/ddrescue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/Scripts/functions/ddrescue.py b/.bin/Scripts/functions/ddrescue.py index be306f2c..42d81b72 100644 --- a/.bin/Scripts/functions/ddrescue.py +++ b/.bin/Scripts/functions/ddrescue.py @@ -851,7 +851,7 @@ def menu_ddrescue(source_path, dest_path, run_mode): menu_main(state) # Done - run_program(['tmux', 'kill-window']) + tmux_kill_all_panes() exit_script()