Skip to content

Use the -s option of uname, which is more universally available than -o

dkim requested to merge (removed):uname into master

The uname command on macOS does not support the -o option:

$ uname -o
uname: illegal option -- o
usage: uname [-amnprsv]

For more details on the options, refer to How to check if running in Cygwin, Mac or Linux?.

Merge request reports

Loading