diff options
-rwxr-xr-x | bin/locmaint | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/bin/locmaint b/bin/locmaint index f837d62d..d6253c9c 100755 --- a/bin/locmaint +++ b/bin/locmaint @@ -165,12 +165,16 @@ sub main { if ($do_coldbkup) { $coldbkup_root = rel2abs($coldbkup_root); do_coldbkup($coldbkup_root); - script_status("ejecting $coldbkup_root"); - system "gio", "mount", "--eject", $coldbkup_root; - if ($?) { - say_spaced_bullet("failed to eject $coldbkup_root!"); - get_ack(); - } + + # TODO make this work -- need to cause ssh control sockets + # which have open file descriptors on the external drive to + # exit (probably using `ssh -O exit`) + # script_status("ejecting $coldbkup_root"); + # system "gio", "mount", "--eject", $coldbkup_root; + # if ($?) { + # say_spaced_bullet("failed to eject $coldbkup_root!"); + # get_ack(); + # } } do_workstation_duplicity() if $do_workstation_duplicity; do_sysmaint() if $do_sysmaint; |