From: Moritz Warning Date: Tue, 10 Apr 2018 08:05:55 +0000 (+0200) Subject: zerotier: fix 'unknown operand' error X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=cf63e76698c7252bc3fc68b2befea4791f6caa62;p=openwrt-packages.git zerotier: fix 'unknown operand' error Signed-off-by: Moritz Warning --- diff --git a/net/zerotier/files/zerotier.init b/net/zerotier/files/zerotier.init index 13aff5bf0..d4831bdd5 100644 --- a/net/zerotier/files/zerotier.init +++ b/net/zerotier/files/zerotier.init @@ -28,7 +28,7 @@ start_instance() { rm -rf $CONFIG_PATH # Create link from CONFIG_PATH to config_path - if [ -n "$config_path" -a $config_path != $CONFIG_PATH ]; then + if [ -n "$config_path" -a "$config_path" != $CONFIG_PATH ]; then if [ ! -d "$config_path" ]; then echo "ZeroTier config_path does not exist: $config_path" return