Skip to content

Commit

Permalink
chore: refactor check
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod committed Mar 19, 2021
1 parent e4e00e2 commit 3cd00ab
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions maclaunch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,8 @@ fi

case "$1" in
"list")
if [ $# -ne 1 ]; then
if [ $# -ne 2 ]; then
usage
fi
if [ $# -ne 1 ] && [ $# -ne 2 ]; then
usage
fi

listCronJobs "$2"
Expand Down

0 comments on commit 3cd00ab

Please sign in to comment.