Skip to content

Commit 9a06fbd

Browse files
author
emmett1
committed
fix pkgadd
1 parent 7a91fbd commit 9a06fbd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkgadd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ LOCK_FILE="$SCRATCHPKG_DIR/spkg.lock"
154154
[ -f "$ROOT_DIR/$LOCK_FILE" ] && {
155155
msgerr "Cant install/remove package simultaneously."
156156
msgerr "remove '$ROOT_DIR/$LOCK_FILE' if no install/remove package process running."
157+
exit 1
157158
}
158159

159160
touch "$ROOT_DIR/$LOCK_FILE" 2>/dev/null || {

0 commit comments

Comments
 (0)