ionice may not be available
This commit is contained in:
parent
3fd7a11bed
commit
6510eb17fc
@ -24,6 +24,8 @@ getConfigGeneral() {
|
|||||||
unset expr
|
unset expr
|
||||||
;;
|
;;
|
||||||
'ionice')
|
'ionice')
|
||||||
|
if which ionice >/dev/null
|
||||||
|
then
|
||||||
read class niceness <<<"$value"
|
read class niceness <<<"$value"
|
||||||
case $class in
|
case $class in
|
||||||
1)
|
1)
|
||||||
@ -65,6 +67,7 @@ getConfigGeneral() {
|
|||||||
exit $EIONICE
|
exit $EIONICE
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
'temporary-directory')
|
'temporary-directory')
|
||||||
tempdir="$value"
|
tempdir="$value"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user