summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorSami Kerola2014-12-13 19:07:44 +0100
committerSami Kerola2014-12-19 10:11:03 +0100
commit4ecc6dbb53c4d55ab8871b1ecccee28a94c5afbf (patch)
treeb014225d329980ab09ef8a9bdabe6a9b3043533b /include/pathnames.h
parentlslogins: add space to systemd journal header and message (diff)
downloadkernel-qcow2-util-linux-4ecc6dbb53c4d55ab8871b1ecccee28a94c5afbf.tar.gz
kernel-qcow2-util-linux-4ecc6dbb53c4d55ab8871b1ecccee28a94c5afbf.tar.xz
kernel-qcow2-util-linux-4ecc6dbb53c4d55ab8871b1ecccee28a94c5afbf.zip
lslogins: use hardcoded paths from pathnames.h
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index 1cc4e15e6..0d21b980b 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -38,6 +38,7 @@
#endif
#define _PATH_MOTDFILE "/etc/motd"
#define _PATH_NOLOGIN "/etc/nologin"
+#define _PATH_VAR_NOLOGIN "/var/run/nologin"
#define _PATH_LOGIN "/bin/login"
#define _PATH_INITTAB "/etc/inittab"