Skip to content

Commit

Permalink
ensures the entrypoint exits non-zero when an error happens
Browse files Browse the repository at this point in the history
mhrivnak committed Dec 12, 2024
1 parent 6e434bc commit 0ea6694
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh

set -e

if [ ! -f "/data/g2g.db" ]; then
echo "No database found, intializing gpodder2go ..."
/gpodder2go init

0 comments on commit 0ea6694

Please sign in to comment.