Skip to content

Commit 985795d

Browse files
authored
Merge pull request #157 from thelamer/master
fix for pid removal on startup
2 parents 6b2fda0 + 96bc2df commit 985795d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/etc/cont-init.d/40-chown-files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717

1818
# remove plex pid after unclean stop
1919
[[ -f "/config/Library/Application Support/Plex Media Server/plexmediaserver.pid" ]] && \
20-
rm /config/Library/Application Support/Plex Media Server/plexmediaserver.pid
20+
rm -f "/config/Library/Application Support/Plex Media Server/plexmediaserver.pid"
2121

2222
# permissions (non-recursive) on config root and folders
2323
chown abc:abc \

0 commit comments

Comments
 (0)