summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtin-finalize-staged.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ostree/ot-admin-builtin-finalize-staged.c')
-rw-r--r--src/ostree/ot-admin-builtin-finalize-staged.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-admin-builtin-finalize-staged.c b/src/ostree/ot-admin-builtin-finalize-staged.c
index 80d8a9b7..17b6a625 100644
--- a/src/ostree/ot-admin-builtin-finalize-staged.c
+++ b/src/ostree/ot-admin-builtin-finalize-staged.c
@@ -45,7 +45,7 @@ ot_admin_builtin_finalize_staged (int argc, char **argv, OstreeCommandInvocation
/* Just a sanity check; we shouldn't be called outside of the service though.
*/
struct stat stbuf;
- if (fstatat (AT_FDCWD, "/run/ostree-booted", &stbuf, 0) < 0)
+ if (fstatat (AT_FDCWD, OSTREE_PATH_BOOTED, &stbuf, 0) < 0)
return TRUE;
g_autoptr(GOptionContext) context = g_option_context_new ("");