summaryrefslogtreecommitdiff
path: root/sh/mpra
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-07-07 17:19:15 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-07-07 17:19:15 -0700
commitd2989e8573fcc85207c32cb52db3535790151578 (patch)
tree64269f82b0645ef50f86950965c3c9f0cf061a3a /sh/mpra
parent355f8ef9d129edc1f2b195512d282d4e4c74821f (diff)
mpra exit 1 instead or 0 when no PKGBUILD seems more correct
Diffstat (limited to 'sh/mpra')
-rwxr-xr-xsh/mpra2
1 files changed, 1 insertions, 1 deletions
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?