From d708ca9d99a1b60dae85387b142087111dd03eb9 Mon Sep 17 00:00:00 2001 From: SOUFIAN3HM <123272999+soufian3hm@users.noreply.github.com> Date: Mon, 15 Jun 2026 11:06:22 +0100 Subject: [PATCH] fix(macports): correct inverted logic (#13812) --- plugins/macports/macports.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/macports/macports.plugin.zsh b/plugins/macports/macports.plugin.zsh index d438057f9..9b2abf466 100644 --- a/plugins/macports/macports.plugin.zsh +++ b/plugins/macports/macports.plugin.zsh @@ -8,7 +8,7 @@ alias puo="sudo port upgrade outdated" alias pup="sudo port selfupdate && sudo port upgrade outdated" port-livecheck-maintainer() { - (( ${+commands[port]} == 0 )) || { + (( ${+commands[port]} )) || { print -- "port: not found" >&2 return 1 }