chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
systemctl: show cgroup tree if cgroup is empty but has non-empty children
[elogind.git]
/
src
/
cryptsetup
/
cryptsetup-generator.c
diff --git
a/src/cryptsetup/cryptsetup-generator.c
b/src/cryptsetup/cryptsetup-generator.c
index 7eae1c8c6721f07353a9603fab575c98c37a8ad0..81b770890a170510ad31ff6a5b38e12fb4e66902 100644
(file)
--- a/
src/cryptsetup/cryptsetup-generator.c
+++ b/
src/cryptsetup/cryptsetup-generator.c
@@
-377,8
+377,12
@@
int main(int argc, char *argv[]) {
goto next;
}
goto next;
}
+ /* If we readd support for specifying passphrases
+ * directly in crypttabe we should upgrade the warning
+ * below, though possibly only if a passphrase is
+ * specified directly. */
if (st.st_mode & 0005)
if (st.st_mode & 0005)
- log_
warnin
g("/etc/crypttab is world-readable. This is usually not a good idea.");
+ log_
debu
g("/etc/crypttab is world-readable. This is usually not a good idea.");
for (;;) {
char line[LINE_MAX], *l;
for (;;) {
char line[LINE_MAX], *l;