diff --git a/systemd/test/test_daemon.py b/systemd/test/test_daemon.py
index <HASH>..<HASH> 100644
--- a/systemd/test/test_daemon.py
+++ b/systemd/test/test_daemon.py
@@ -26,7 +26,7 @@ def closing_socketpair(family):
 
 
 def test_booted():
-    if os.path.exists('/run/systemd'):
+    if os.path.exists('/run/systemd/system'):
         # assume we are running under systemd
         assert booted()
     else:
tests: mirror is-systemd-running test from systemd