diff options
Diffstat (limited to 'src/switchroot/ostree-prepare-root.c')
-rw-r--r-- | src/switchroot/ostree-prepare-root.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c index 20b8685d..46283f3f 100644 --- a/src/switchroot/ostree-prepare-root.c +++ b/src/switchroot/ostree-prepare-root.c @@ -81,9 +81,6 @@ #include "ostree-mount-util.h" -/* Initialized early in main */ -static bool running_as_pid1; - static inline bool sysroot_is_configured_ro (const char *sysroot) { @@ -175,7 +172,7 @@ main(int argc, char *argv[]) * - Quiet logging as there's no journal * etc. */ - running_as_pid1 = (getpid () == 1); + bool running_as_pid1 = (getpid () == 1); const char *root_arg = NULL; bool we_mounted_proc = false; |