Minor module script improvements

This commit is contained in:
osm0sis
2024-07-31 16:47:46 -03:00
committed by chiteroman
parent bf87ea42b8
commit 66dc366273
2 changed files with 3 additions and 6 deletions

View File

@@ -5,10 +5,7 @@ MODDIR=${0%/*}
cd $MODDIR
(
while [ true ]; do
./daemon
if [ $? -ne 0 ]; then
exit 1
fi
while true; do
./daemon || exit 1
done
) &