From d2989e8573fcc85207c32cb52db3535790151578 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 7 Jul 2024 17:19:15 -0700 Subject: mpra exit 1 instead or 0 when no PKGBUILD seems more correct --- sh/mpra | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/mpra') diff --git a/sh/mpra b/sh/mpra index 3e4f898..38e605f 100755 --- a/sh/mpra +++ b/sh/mpra @@ -3,7 +3,7 @@ fn () { if ! { [ -f PKGBUILD ] || [ -h PKGBUILD ];}; then - exit + exit 1 fi find . -maxdepth 1 -type f -name "*.pkg.tar.$ext*" -delete # Maybe failed to sign because I forget to input gpg password for a long time, maybe also because terminal window too small cause gpg tui that ask password can't show? -- cgit v1.2.3-70-g09d2