aboutsummaryrefslogtreecommitdiff
path: root/tests/install-darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/install-darwin.sh')
-rwxr-xr-xtests/install-darwin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/install-darwin.sh b/tests/install-darwin.sh
index 7e44e54c4..ea2b75323 100755
--- a/tests/install-darwin.sh
+++ b/tests/install-darwin.sh
@@ -4,7 +4,7 @@ set -eux
cleanup() {
PLIST="/Library/LaunchDaemons/org.nixos.nix-daemon.plist"
- if sudo launchctl list | grep -q nix-daemon; then
+ if sudo launchctl list | grepQuiet nix-daemon; then
sudo launchctl unload "$PLIST"
fi