]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blobdiff - xdg-ninja.sh
Use test for "$MOVABLE" in check_file function (#66)
[xdg-ninja.git] / xdg-ninja.sh
index 6c8a2f200daff1e819659bd4fc10206c8d2a6522..3c9054a060210605429d0432cc70c700b0827353 100755 (executable)
@@ -157,7 +157,7 @@ check_file() {
         ;;
 
     1)
-        if "$MOVABLE"; then
+        if [ "$MOVABLE" ]; then
             log ERR "$NAME" "$FILENAME" "$HELP"
         else
             log WARN "$NAME" "$FILENAME" "$HELP"