From be267b45049fa21adea9e7f0e269d0a3a4b96670 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Thu, 1 Aug 2024 03:38:18 -0700 Subject: [PATCH] swap files since we are counting empty --- service.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.nix b/service.nix index 35dbaf2..9439662 100644 --- a/service.nix +++ b/service.nix @@ -27,9 +27,9 @@ in if [ -d "$target" ]; then if [[ $(${pkgs.findutils}/bin/find /some/dir/ -maxdepth 0 -empty) -gt 0 ]]; then - echo "~ Found Files at $target ~" - else echo "~ No Files in $target ~" + else + echo "~ Found Files at $target ~" fi fi done < "${config.repo-clone.pkg}"