Skip to content

Commit

Permalink
Merge pull request #109 from mergwyn/master
Browse files Browse the repository at this point in the history
Correct incorrect sh syntax
  • Loading branch information
Jonathan Carter authored Sep 30, 2019
2 parents 4538217 + f938d9c commit 92db087
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 92db087

Please sign in to comment.