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..."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue