Skip to content

Commit 2e7ac16

Browse files
committed
fixed: api
1 parent a0dd3cb commit 2e7ac16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎system/cuos/api.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COMMAND="${1:-""}"
1616
if [[ "${COMMAND}" = "input" ]]; then
1717
read -r INPUT
1818
COMMAND="$(jq -r '.command // empty' <<< "${INPUT}")"
19-
else [[ "${2:-}" == "-" ]]; then
19+
elif [[ "${2:-}" == "-" ]]; then
2020
INPUT="$(cat)"
2121
fi
2222

0 commit comments

Comments
 (0)