Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
steam
systemd
Commits
27abbe82
Commit
27abbe82
authored
Feb 15, 2011
by
Lennart Poettering
Browse files
mount,swap: properly add dependencies to logger if needed
parent
934da035
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/mount.c
View file @
27abbe82
...
...
@@ -466,6 +466,9 @@ static int mount_load(Unit *u) {
/* This is a new unit? Then let's add in some extras */
if
(
u
->
meta
.
load_state
==
UNIT_LOADED
)
{
if
((
r
=
unit_add_exec_dependencies
(
u
,
&
m
->
exec_context
))
<
0
)
return
r
;
if
(
m
->
meta
.
fragment_path
)
m
->
from_fragment
=
true
;
...
...
src/swap.c
View file @
27abbe82
...
...
@@ -264,6 +264,8 @@ static int swap_load(Unit *u) {
return
r
;
if
(
u
->
meta
.
load_state
==
UNIT_LOADED
)
{
if
((
r
=
unit_add_exec_dependencies
(
u
,
&
s
->
exec_context
))
<
0
)
return
r
;
if
(
s
->
meta
.
fragment_path
)
s
->
from_fragment
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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