diff --git a/aps.sh b/aps.sh index 9c26ae4..008fd62 100644 --- a/aps.sh +++ b/aps.sh @@ -197,6 +197,7 @@ main() { echo "[E] A lock file already exists." echo " If you're sure no package manager is running," echo " remove the file ${AL_LOCK}" + exit 1 fi touch "${AL_LOCK}"