summaryrefslogtreecommitdiff
path: root/src/automount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-25 02:51:48 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-25 02:51:48 +0100
commitc0f9c7da07fccafed646e0a15df9bc132e3fc7fb (patch)
treea7f69d7121d547670f9a02fdde9d1673f1aef244 /src/automount.c
parent6d55002a69dea3b8d941c5c4e4fce80f371060b5 (diff)
systemctl: shutdown agent explicitly so that it can reset the tty properly
Diffstat (limited to 'src/automount.c')
-rw-r--r--src/automount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/automount.c b/src/automount.c
index 7289311684..c225c161eb 100644
--- a/src/automount.c
+++ b/src/automount.c
@@ -305,7 +305,7 @@ static int open_dev_autofs(Manager *m) {
if (m->dev_autofs_fd >= 0)
return m->dev_autofs_fd;
- label_fix("/dev/autofs", false);
+ label_fix("/dev/autofs", false);
if ((m->dev_autofs_fd = open("/dev/autofs", O_CLOEXEC|O_RDONLY)) < 0) {
log_error("Failed to open /dev/autofs: %s", strerror(errno));