File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -346,6 +346,7 @@ Just be careful to use the tag you have built.
346346
347347Change Date|Major Changes
348348---|---
349+ 2024-09-21|Use exec instead of eval
3493502024-09-05|Handle non-writable volumes more gracefully
3503512024-09-05|Fix user and group management
3513522024-03-07|Fix switch for normalisation pregain (see [ #81 ] ( https://github.com/GioF71/librespot-docker/issues/77 ) )
Original file line number Diff line number Diff line change 300300if [[ $current_user_id -eq 0 ]]; then
301301 if [[ " ${BACKEND} " == " pulseaudio" || -n " ${PUID} " ]]; then
302302 echo " Running in user mode ..."
303- su - $USER_NAME -c " $CMD_LINE "
303+ exec su - $USER_NAME -c " $CMD_LINE "
304304 else
305305 echo " Running as root ..."
306- eval $CMD_LINE ;
306+ eval " exec $CMD_LINE " ;
307307 fi
308308else
309309 echo " Running as uid: [$current_user_id ] ..."
310- eval $CMD_LINE
310+ eval " exec $CMD_LINE "
311311fi
You can’t perform that action at this time.
0 commit comments