Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
steam
systemd
Commits
b5c6cf87
Commit
b5c6cf87
authored
Feb 19, 2011
by
Lennart Poettering
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main: refuse --test as root
parent
783bd612
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
TODO
TODO
+2
-5
src/main.c
src/main.c
+5
-0
No files found.
TODO
View file @
b5c6cf87
...
...
@@ -5,11 +5,10 @@ Bugs:
* when plymouth is disabled the console password entry stuff seems to be borked
https://bugzilla.redhat.com/show_bug.cgi?id=655538
* exclude java hsp files by default
https://bugzilla.redhat.com/show_bug.cgi?id=527425
Features:
* support "auto" and "comment=systemd.automount" at the same time for an fstab entry
* Make use of UnknownInterface, UnknownObject
* increase password timeout
...
...
@@ -124,8 +123,6 @@ External:
* snd-seq should go, https://bugzilla.redhat.com/show_bug.cgi?id=676095
* mount.tmpfs should be optimized, https://bugzilla.redhat.com/show_bug.cgi?id=676100
* gnome-shell python script/glxinfo/is-accelerated wech
* make cryptsetup lower --iter-time
...
...
src/main.c
View file @
b5c6cf87
...
...
@@ -1012,6 +1012,11 @@ int main(int argc, char *argv[]) {
if
(
parse_argv
(
argc
,
argv
)
<
0
)
goto
finish
;
if
(
arg_action
==
ACTION_TEST
&&
geteuid
()
==
0
)
{
log_error
(
"Don't run test mode as root."
);
goto
finish
;
}
/* If Plymouth is being run make sure we show the status, so
* that there's something nice to see when people press Esc */
if
(
access
(
"/dev/.systemd/plymouth"
,
F_OK
)
>=
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment