Skip to content

Commit f938d9c

Browse files
authored
Correct incorrect sh syntax
'==' is not valid in sh
1 parent 4538217 commit f938d9c

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)