Make vfio.sh sh compatible.
This commit is contained in:
parent
c4571806cc
commit
04f7bd7884
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$EUID" -ne 0 ]; then
|
if (( $(id -u) != 0 )); then
|
||||||
echo "This script must be run as root. Quitting..."
|
echo "This script must be run as root. Quitting..."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue