diff --git a/service.nix b/service.nix index 57cf78f..cb5f5bd 100644 --- a/service.nix +++ b/service.nix @@ -21,11 +21,9 @@ in repo=''${args[0]} target=''${args[1]} - if [ -d "''$target" ]; then + if [ -d "$target" ]; then if "''$(${pkgs.findutils}/bin/find "''$target" -maxdepth 0 -empty)"; then echo "~ Found Files at ''$target ~" - else - echo "~ No Files in ''$target ~" fi fi done < "${config.repo-clone.pkg}"