Skip to content

Commit

Permalink
Only create the pip if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdewid committed Aug 17, 2023
1 parent 13c77ca commit a4a4748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/deb/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fi

# Create signal fifo if not existing
SIGNAL_FIFO="/var/lib/glonax/signal"
if [ ! -e "$FILE_PATH" ]; then
if [ ! -p "$SIGNAL_FIFO" ]; then
echo -n "Creating signal fifo $SIGNAL_FIFO.."
mkfifo "$SIGNAL_FIFO"
chown $SERVER_USER:adm "$SIGNAL_FIFO"
Expand Down

0 comments on commit a4a4748

Please sign in to comment.