procd: fix command handling in procd_add_instance()
authorFelix Fietkau <nbd@openwrt.org>
Wed, 9 Oct 2013 11:07:23 +0000 (11:07 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 9 Oct 2013 11:07:23 +0000 (11:07 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38350

package/system/procd/files/procd.sh

index b65bf293d6b24f64ebf2b803fbe5aaac401ba8bd..5327c1dbc3fe108dc1fb35d8916ee02521dde51e 100644 (file)
@@ -193,7 +193,7 @@ _procd_close_trigger() {
 
 _procd_add_instance() {
        _procd_open_instance
-       _procd_set_command "$@"
+       _procd_set_param command "$@"
        _procd_close_instance
 }