gui_main.py: Add extra error handling for payload unpacking

This commit is contained in:
Mykola Grymalyuk
2022-05-19 08:55:51 -06:00
parent 78bee05092
commit b90956dc4a
2 changed files with 21 additions and 6 deletions
-2
View File
@@ -42,8 +42,6 @@ class reroute_payloads:
print("- Failed to mount payloads.dmg")
print(f"Output: {output.stdout.decode()}")
print(f"Return Code: {output.returncode}")
print("- Exiting...")
sys.exit(1)
def unmount_active_dmgs(self):
# Find all DMGs that are mounted, and forcefully unmount them