summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/dropbear/files/dropbear.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dropbear/files/dropbear.init b/package/dropbear/files/dropbear.init
index 58b0bc2fab..b629c1e48e 100755
--- a/package/dropbear/files/dropbear.init
+++ b/package/dropbear/files/dropbear.init
@@ -16,7 +16,7 @@ config_cb() {
case "$passauth" in
no|off|disabled|0) nopasswd=1;;
esac
- DROPBEAR_ARGS="${port:+-p $port} ${nopasswd:+-s}"
+ DROPBEAR_ARGS="${nopasswd:+-s }${port:+-p $port}"
;;
esac
}