Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 9077bd7

Browse files
authored
update
1 parent ad225e1 commit 9077bd7

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -86,23 +86,7 @@ def main():
8686
print("Goodbye!")
8787
print("See you later.")
8888
print("Saving and quitting...")
89-
90-
# Use absolute path based on this file's dir for kernel script
91-
this_dir = os.path.dirname(os.path.abspath(__file__))
92-
kernel_script = os.path.join(this_dir, '..', 'KERNEL', 'kernel.py')
93-
94-
if os.path.isfile(kernel_script):
95-
try:
96-
subprocess.run([sys.executable, kernel_script], check=True)
97-
except subprocess.CalledProcessError as e:
98-
print(f"Error executing the kernel script: {e}")
99-
except Exception as e:
100-
print(f"An unexpected error occurred: {e}")
101-
else:
102-
print("Kernel Script Not found or has a defect. Please reinstall SkyOS or replace the kernel file.")
103-
104-
break
105-
89+
sys.exit()
10690
else:
10791
print("That is not a valid action!")
10892

0 commit comments

Comments
 (0)