Skip to content

Commit 92db087

Browse files
author
Jonathan Carter
authored
Merge pull request #109 from mergwyn/master
Correct incorrect sh syntax
2 parents 4538217 + f938d9c commit 92db087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zfs-auto-snapshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ do_snapshots () # properties, flags, snapname, oldglob, [targets...]
224224
# main ()
225225
# {
226226

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

0 commit comments

Comments
 (0)