Skip to content

Commit

Permalink
Remove unnecessary sub-shell (Shellcheck SC2235)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjurkiewicz committed Sep 16, 2018
1 parent 0c625fa commit d8d0cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ "$#" = "1" ] && [ "$1" = "--version" ]; then
exit 0
fi

if [ "$#" = "1" ] && ([ "$1" = "-h" ] || [ "$1" = "--help" ]); then
if [ "$#" = "1" ] && { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then
echo "usage: acts"
echo
echo "Configuration should be in /etc/acts.conf or /usr/local/etc/acts.conf"
Expand Down

0 comments on commit d8d0cae

Please sign in to comment.