From a6dcb62014674a11fda54dd22817398cca62b760 Mon Sep 17 00:00:00 2001 From: Kyle Kroboth Date: Wed, 12 Mar 2025 00:09:42 -0400 Subject: [PATCH] fix: silent curl --- install/fileflows-install.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/install/fileflows-install.sh b/install/fileflows-install.sh index 1e524f2..960267f 100644 --- a/install/fileflows-install.sh +++ b/install/fileflows-install.sh @@ -124,19 +124,13 @@ curl -s -X 'POST' \ "http://localhost:19200/api/variable" \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ - -d "{ - \"Name\": \"ffmpeg\", - \"Value\": \"$FFMPEG_PATH\" -}" 2>/dev/null + -d "{\"Name\":\"ffmpeg\",\"Value\":\"$FFMPEG_PATH\"}" /dev/null curl -s -X 'POST' \ "http://localhost:19200/api/variable" \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ - -d "{ - \"Name\": \"ffprobe\", - \"Value\": \"$FFPROBE_PATH\" -}" 2>/dev/null + -d "{\"Name\":\"ffprobe\",\"Value\":\"$FFPROBE_PATH\"}" /dev/null msg_ok "ffmpeg and ffprobe variables have been updated successfully."