Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmj303 committed Dec 20, 2023
1 parent 805005e commit 4ece8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harden/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def save(file_path: str, backup: bool = False):
def run(backup: bool = False):
save("hardening_script.sh", backup)
subprocess.Popen(
shlex.split("""x-terminal-emulator -e 'bash -c "sudo bash hardening_script.sh"'""")
shlex.split("""x-terminal-emulator -e 'bash -c "sudo bash hardening_script.sh; bash"'""")
)

if __name__ == "__main__":
Expand Down

0 comments on commit 4ece8d4

Please sign in to comment.