diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-01-24 18:26:48 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-09 18:06:12 +0100 |
commit | e2434db0e4558d6ffd414a497f286976006526c8 (patch) | |
tree | a5208c1da2c8b2a6406eae519a31badd675c6379 | |
parent | Nspawn add dependency on network-online. (diff) | |
download | nspawn-e2434db0e4558d6ffd414a497f286976006526c8.tar.gz nspawn-e2434db0e4558d6ffd414a497f286976006526c8.tar.xz |
Rename, and fail nicer on nspawn fact.
-rwxr-xr-x | facts.d/nspawn_machines.py (renamed from facts.d/main.py) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/facts.d/main.py b/facts.d/nspawn_machines.py index 8a46a9d..f8fc9a5 100755 --- a/facts.d/main.py +++ b/facts.d/nspawn_machines.py @@ -6,7 +6,7 @@ try: import dbus import yaml except ImportError: - sys.exit(1) + sys.exit(0) bus = dbus.SystemBus() bus_name = 'org.freedesktop.machine1' # dest |