mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
auto-install-gui: no longer killing java here, let caller do that
This commit is contained in:
@@ -114,12 +114,12 @@ if newestWebFile['timestamp'] > newestDirFile['timestamp']:
|
||||
print(f"{e}\nInstallation failed. Please Try again.")
|
||||
sys.exit(1)
|
||||
#=========ATTEMPT TO RESTART GUI==========
|
||||
try:
|
||||
print("Killing current GUI process")
|
||||
os.system("if pgrep java; then pgrep java | xargs kill -9 ;fi")
|
||||
except Exception as e:
|
||||
print(f"{e}\nProcess kill failed. Please try again")
|
||||
sys.exit(1)
|
||||
# try:
|
||||
# print("Killing current GUI process")
|
||||
# os.system("if pgrep java; then pgrep java | xargs kill -9 ;fi")
|
||||
# except Exception as e:
|
||||
# print(f"{e}\nProcess kill failed. Please try again")
|
||||
# sys.exit(1)
|
||||
|
||||
else:
|
||||
print("Current GUI version up to date")
|
||||
|
||||
Reference in New Issue
Block a user