From 72f64dc02700ab12a8d810eb138cd68761dcc80d Mon Sep 17 00:00:00 2001 From: samsapti Date: Tue, 14 Jun 2022 18:06:11 +0200 Subject: [PATCH] Improve doasedit() --- zsh/.config/zsh/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index 5fa480a..1d3ef44 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -12,7 +12,7 @@ doasedit() { local STATUS=$? doas -L - [[ $STATUS -gt 0 ]] && return 1 + [[ $STATUS -eq 0 ]] || return 1 } get_ip() {