mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-16 07:38:12 +02:00
Correct incorrect sh syntax
'==' is not valid in sh
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user