zerotier: fix 'unknown operand' error 5893/head
authorMoritz Warning <moritzwarning@web.de>
Tue, 10 Apr 2018 08:05:55 +0000 (10:05 +0200)
committerMoritz Warning <moritzwarning@web.de>
Tue, 10 Apr 2018 08:42:16 +0000 (10:42 +0200)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
net/zerotier/files/zerotier.init

index 13aff5bf0abda516d13a40409e54e4976c8949f6..d4831bdd565e51b68c579c250419c2bd9aa3a82c 100644 (file)
@@ -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