diff options
Diffstat (limited to 'community/tinyssh/tinyssh.initd')
-rw-r--r-- | community/tinyssh/tinyssh.initd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/community/tinyssh/tinyssh.initd b/community/tinyssh/tinyssh.initd index 49225d2fce..522250282a 100644 --- a/community/tinyssh/tinyssh.initd +++ b/community/tinyssh/tinyssh.initd @@ -28,6 +28,8 @@ depend() { } start_pre() { - checkpath --directory ${CONFDIR} - $keygen $keydir 2>/dev/null + if ! [ -d "$keydir" ]; then + checkpath --directory ${CONFDIR} + $keygen $keydir 2>/dev/null + fi } |