diff --git a/service.nix b/service.nix index 9439662..7049d5d 100644 --- a/service.nix +++ b/service.nix @@ -26,7 +26,7 @@ in target=''${args[1]} if [ -d "$target" ]; then - if [[ $(${pkgs.findutils}/bin/find /some/dir/ -maxdepth 0 -empty) -gt 0 ]]; then + if [[ $(${pkgs.findutils}/bin/find "$target" -maxdepth 0 -empty) -gt 0 ]]; then echo "~ No Files in $target ~" else echo "~ Found Files at $target ~"