diff options
-rwxr-xr-x | frontends/cgi/live-build-cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/cgi/live-build-cgi b/frontends/cgi/live-build-cgi index dbc1ef53b..8014ebb87 100755 --- a/frontends/cgi/live-build-cgi +++ b/frontends/cgi/live-build-cgi @@ -35,7 +35,7 @@ echo #QUERY_STRING=`cat /dev/stdin` #QUERY_STRING=$(cat /dev/stdin) # If we are passed something then read it in. -if [[ "$REQUEST_METHOD" = "POST" ]] && [[ "$CONTENT_LENGTH" -gt 0 ]] +if [ "$REQUEST_METHOD" = "POST" ] && [ "$CONTENT_LENGTH" -gt 0 ] then read -n $CONTENT_LENGTH POST_DATA <&0 fi |