diff options
author | Jonathan Lebon <jonathan@jlebon.com> | 2022-01-12 13:39:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 13:39:59 -0500 |
commit | 1af0150750fbedc780e8348c5927843824c65be0 (patch) | |
tree | f4383d2d2c9de0b71f36e8b1f76f7ad30cb252bb /src/ostree/ot-main.c | |
parent | 8aeceb9b8837cbf67421fe78900c9e477733f7b6 (diff) | |
parent | 0ff4bee74348e6894795ba3a5ac2bfab8aab7f28 (diff) | |
download | ostree-1af0150750fbedc780e8348c5927843824c65be0.tar.gz |
Merge pull request #2516 from cgwalters/define-ostree-booted
Diffstat (limited to 'src/ostree/ot-main.c')
-rw-r--r-- | src/ostree/ot-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c index 7a4c4707..b7b50d67 100644 --- a/src/ostree/ot-main.c +++ b/src/ostree/ot-main.c @@ -120,7 +120,7 @@ maybe_setup_mount_namespace (gboolean *out_ns, return TRUE; /* If the system isn't booted via libostree, also nothing to do */ - if (!glnx_fstatat_allow_noent (AT_FDCWD, "/run/ostree-booted", NULL, 0, error)) + if (!glnx_fstatat_allow_noent (AT_FDCWD, OSTREE_PATH_BOOTED, NULL, 0, error)) return FALSE; if (errno == ENOENT) return TRUE; |