chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085b94e
)
main: introduce $SYSTEMD_SKIP_API_MOUNTS to disable mounting of API FS
author
Lennart Poettering
<lennart@poettering.net>
Thu, 8 Jul 2010 22:03:09 +0000
(
00:03
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 8 Jul 2010 22:03:09 +0000
(
00:03
+0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index 3124b7644e7bb8cbe9417b18e32f2962f5867514..8717b8a968085693222e924c45ddba6391af133c 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-849,7
+849,7
@@
int main(int argc, char *argv[]) {
/* Mount /proc, /sys and friends, so that /proc/cmdline and
* /proc/$PID/fd is available. */
- if (geteuid() == 0)
+ if (geteuid() == 0
&& !getenv("SYSTEMD_SKIP_API_MOUNTS")
)
if (mount_setup() < 0)
goto finish;