mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +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.")
|
print(f"{e}\nInstallation failed. Please Try again.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
#=========ATTEMPT TO RESTART GUI==========
|
#=========ATTEMPT TO RESTART GUI==========
|
||||||
try:
|
# try:
|
||||||
print("Killing current GUI process")
|
# print("Killing current GUI process")
|
||||||
os.system("if pgrep java; then pgrep java | xargs kill -9 ;fi")
|
# os.system("if pgrep java; then pgrep java | xargs kill -9 ;fi")
|
||||||
except Exception as e:
|
# except Exception as e:
|
||||||
print(f"{e}\nProcess kill failed. Please try again")
|
# print(f"{e}\nProcess kill failed. Please try again")
|
||||||
sys.exit(1)
|
# sys.exit(1)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("Current GUI version up to date")
|
print("Current GUI version up to date")
|
||||||
|
|||||||
Reference in New Issue
Block a user