Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emmett1 committed Jan 12, 2020
1 parent 06ea8a5 commit 44ecd4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkgadd
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ fi
msgerr "remove '$LOCK_FILE' if no install/remove package process running."
}

touch "$LOCK_FILE" || {
touch "$LOCK_FILE" 2>/dev/null || {
msgerr "Cant create lock file in '$LOCK_FILE'."
exit 1
}
Expand Down
2 changes: 1 addition & 1 deletion pkgbuild
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ main() {
}

# create lock file
touch "$LOCK_FILE" || {
touch "$LOCK_FILE" 2>/dev/null || {
msgerr "Cant create lock file in '$LOCK_FILE'."
exit 1
}
Expand Down
2 changes: 1 addition & 1 deletion pkgdel
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ fi
exit 1
}

touch "$LOCK_FILE" || {
touch "$LOCK_FILE" 2>/dev/null || {
msgerr "Cant create lock file in '$LOCK_FILE'"
exit 1
}
Expand Down

0 comments on commit 44ecd4f

Please sign in to comment.