Skip to content

Commit

Permalink
Fixed exit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlight071 committed Feb 8, 2024
1 parent c6c9449 commit ef52432
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sudo_user_login.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import time
import sys
import getpass
from common_functions import clear_screen, verify_password, log_action
from colorama import Fore, Style
Expand Down Expand Up @@ -51,7 +52,7 @@ def attempt_login(self, username, password, attempts):
return username
else:
self.print_insufficient_clearance(username)
exit()
sys.exit()
else:
self.print_incorrect_password(username, attempts)
else:
Expand Down

0 comments on commit ef52432

Please sign in to comment.