projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8dbbd
)
fixed broken invocation of stat
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 1 Aug 2008 01:29:25 +0000
(21:29 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Fri, 1 Aug 2008 01:29:25 +0000
(21:29 -0400)
src/monkeysphere-server
patch
|
blob
|
history
diff --git
a/src/monkeysphere-server
b/src/monkeysphere-server
index d70fe93e5d6313d697db85adc950fae714bf74ee..03a4ccba8484686eef7b1086d948db97f33fc5ed 100755
(executable)
--- a/
src/monkeysphere-server
+++ b/
src/monkeysphere-server
@@
-450,7
+450,7
@@
diagnostics() {
if [ ! -s "${VARLIB}/ssh_host_rsa_key" ] ; then
echo "The host key as prepared for SSH (${VARLIB}/ssh_host_rsa_key) is missing or empty!"
else
- if [ $(stat -c "${VARLIB}/ssh_host_rsa_key") != 600 ] ; then
+ if [ $(stat -c
'%a'
"${VARLIB}/ssh_host_rsa_key") != 600 ] ; then
echo "Permissions seem wrong for ${VARLIB}/ssh_host_rsa_key -- should be 0600 !"
fi