From: jjm2473 <1129525450@qq.com> Date: Sun, 22 Mar 2020 16:58:46 +0000 (+0800) Subject: ucitrack: fix bug for exec with params X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F3778%2Fhead;p=oweals%2Fluci.git ucitrack: fix bug for exec with params In file `/etc/config/ucitrack` ``` config fstab option exec '/sbin/block mount' ``` `/sbin/block mount` never be called after fstab changed. Signed-off-by: jjm2473 <1129525450@qq.com> --- diff --git a/modules/luci-base/root/etc/init.d/ucitrack b/modules/luci-base/root/etc/init.d/ucitrack index 27d34fa29..c7ceb3290 100755 --- a/modules/luci-base/root/etc/init.d/ucitrack +++ b/modules/luci-base/root/etc/init.d/ucitrack @@ -35,7 +35,7 @@ register_trigger() { ;; *) logger -t "ucitrack" "Setting up non-init /etc/config/$config reload handler: $exec" - procd_add_config_trigger "config.change" "$config" "$exec" + procd_add_config_trigger "config.change" "$config" $exec ;; esac fi