From cf63e76698c7252bc3fc68b2befea4791f6caa62 Mon Sep 17 00:00:00 2001 From: Moritz Warning Date: Tue, 10 Apr 2018 10:05:55 +0200 Subject: [PATCH] zerotier: fix 'unknown operand' error Signed-off-by: Moritz Warning --- net/zerotier/files/zerotier.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/zerotier/files/zerotier.init b/net/zerotier/files/zerotier.init index 13aff5bf0a..d4831bdd56 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 -- 2.30.2