Skip to content

Commit

Permalink
Correct incorrect sh syntax
Browse files Browse the repository at this point in the history
'==' is not valid in sh
  • Loading branch information
mergwyn authored Sep 25, 2019
1 parent 4538217 commit f938d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zfs-auto-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
# main ()
# {

if [ "$(uname)" == "Darwin" ]; then
if [ "$(uname)" = "Darwin" ]; then
GETOPT_BIN="$(brew --prefix gnu-getopt 2> /dev/null || echo /usr/local)/bin/getopt"
else
GETOPT_BIN="getopt"
Expand Down

0 comments on commit f938d9c

Please sign in to comment.