Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Escape echo quotation marks with backslashes in runMjpgStreamer() (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avedena authored Jul 17, 2022
1 parent 7c73dcc commit 6d5ada1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function runMjpgStreamer {
fi

pushd $MJPGSTREAMER_HOME > /dev/null 2>&1
echo Running ./mjpg_streamer -o "output_http.so -w $camera_http_webroot $camera_http_options" -i "$input"
echo Running ./mjpg_streamer -o \"output_http.so -w $camera_http_webroot $camera_http_options\" -i \"$input\"
LD_LIBRARY_PATH=. ./mjpg_streamer -o "output_http.so -w $camera_http_webroot $camera_http_options" -i "$input" &
sleep 1 &
sleep_pid=$!
Expand Down

0 comments on commit 6d5ada1

Please sign in to comment.