Skip to content

Commit 676ad90

Browse files
authored
bug fix redirect errors to /dev/null correctly
1 parent 47113ad commit 676ad90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/vmware-list-csp-services.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if [ ${#} -ne 1 ]; then
55
exit 1
66
fi
77

8-
type jq > /dev/null 2&>1
8+
type jq > /dev/null 2>&1
99
if [ $? -eq 1 ]; then
1010
echo "It does not look like you have jq installed. This script uses jq to parse the JSON output"
1111
exit 1

0 commit comments

Comments
 (0)