Skip to content

Commit

Permalink
chore: fix mjpg-streamer directory check
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Gehrsitz <[email protected]>
  • Loading branch information
mryel00 committed Nov 22, 2023
1 parent 75b5002 commit de39f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/libs/core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ dietpi_cs_settings() {
detect_existing_webcamd() {
local disable
msg "Checking for mjpg-streamer ...\n"
if [[ -x "/usr/local/bin/webcamd" ]] && [[ -d "${HOME}/mjpg-streamer" ]]; then
if [[ -x "/usr/local/bin/webcamd" ]] && [[ -d "/home/${BASE_USER}/mjpg-streamer" ]]; then
msg "Found an existing mjpg-streamer installation!"
msg "This should be stopped and disabled!"
while true; do
Expand Down

0 comments on commit de39f7a

Please sign in to comment.