Make mksyshdr safe for 64bits platforms (#1504)
[openwrt/openwrt.git] / package / dropbear / files / dropbear.init
index 58b0bc2fabe99b032663c97b0f5ffc305ef42f4a..b629c1e48e9dae0e0b39455bedbd5893356196f2 100755 (executable)
@@ -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
 }