summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-24 18:26:48 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-09 18:06:12 +0100
commite2434db0e4558d6ffd414a497f286976006526c8 (patch)
treea5208c1da2c8b2a6406eae519a31badd675c6379
parentNspawn add dependency on network-online. (diff)
downloadnspawn-e2434db0e4558d6ffd414a497f286976006526c8.tar.gz
nspawn-e2434db0e4558d6ffd414a497f286976006526c8.tar.xz
Rename, and fail nicer on nspawn fact.
-rwxr-xr-xfacts.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