Skip to content

Commit

Permalink
Merge pull request #331 from dfigus/fix-race-condition-config-folder-…
Browse files Browse the repository at this point in the history
…creation

Fix Race Condition in Config Folder Creation
  • Loading branch information
dfigus authored Jan 24, 2025
2 parents 2b8d3d4 + 8a27660 commit d5dbf4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tvheadend/rootfs/etc/s6-overlay/s6-rc.d/init-comskip/run
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ comskip_ini_content=$(bashio::config 'comskip_ini')

if ! bashio::fs.directory_exists '/config/tvheadend/comskip'; then
bashio::log.info "Creating comskip ini directory at /config/tvheadend/comskip"
mkdir -p /config/tvheadend/comskip
mkdir /config/tvheadend/comskip
fi

bashio::log.info "Updating comskip.ini"
Expand Down
2 changes: 1 addition & 1 deletion tvheadend/rootfs/etc/s6-overlay/s6-rc.d/init-wg++/run
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ bashio::log.info "Init WG++..."
# create WG++ guide folder in addon config folder
if ! bashio::fs.directory_exists "/config/tvheadend/wg++"; then
bashio::log.info "Creating WG++ folder in config folder..."
mkdir -p /config/tvheadend/wg++
mkdir /config/tvheadend/wg++
fi

expectedParentDir="/wg/.wg++/siteini.pack"
Expand Down

0 comments on commit d5dbf4f

Please sign in to comment.