From de9f93b562ac09e749a9491367ad7fbc6b52c03f Mon Sep 17 00:00:00 2001 From: Danil Mikhailov Date: Fri, 12 Sep 2014 20:14:00 +0400 Subject: [PATCH] Small fix for run autosshd-ssh --- autosshd/etc/rc.d/init.d/autosshd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autosshd/etc/rc.d/init.d/autosshd b/autosshd/etc/rc.d/init.d/autosshd index 129388f..3d2444f 100755 --- a/autosshd/etc/rc.d/init.d/autosshd +++ b/autosshd/etc/rc.d/init.d/autosshd @@ -210,7 +210,7 @@ case "$OP" in help ;; testssh) - su - -c "autosshd-ssh $1" _autossh + su - -s /bin/bash -c "autosshd-ssh $1" _autossh ;; *) msg_usage "${0##*/} {start|stop|reload|condrestart|condstop|restart|status|list|help|testssh}" -- 2.11.4.GIT