mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-05 14:59:29 -05:00
version: catch correct error
This commit is contained in:
@@ -36,7 +36,7 @@ def print_version() -> None:
|
||||
shell_ver = subprocess.check_output(["/usr/lib/caelestia/version", "-s"], text=True).strip()
|
||||
print("Shell:")
|
||||
print(" ", shell_ver)
|
||||
except subprocess.CalledProcessError:
|
||||
except FileNotFoundError:
|
||||
print("Shell: version helper not available")
|
||||
|
||||
print()
|
||||
|
||||
Reference in New Issue
Block a user