From 56a95dba69675a1e207e5cc67e3dd8881b09d40e Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 1 Aug 2024 02:55:40 -0700 Subject: [PATCH] removing substitution --- service.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.nix b/service.nix index f5ded8d..480c5ca 100644 --- a/service.nix +++ b/service.nix @@ -25,7 +25,7 @@ in target=''${args[1]} if [ -d "''$target" ]; then - if "''$(${pkgs.findutils}/bin/find "''$target" -maxdepth 0 -empty)"; then + if ${pkgs.findutils}/bin/find "''$target" -maxdepth 0 -empty; then echo "~ Found Files at ''$target ~" else echo "~ No Files in ''$target ~"