benice support for Mac (#145)
This commit is contained in:
parent
885603c7e6
commit
667986fc1f
1 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
ionice -c3 nice -n20 "$@"
|
set -e
|
||||||
|
IONICE="ionice -c3"
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
IONICE=""
|
||||||
|
fi
|
||||||
|
$IONICE nice -n20 "$@"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue