Make vfio.sh sh compatible.

This commit is contained in:
the_4n0nym0u53 2021-12-29 21:49:27 +01:00
parent c4571806cc
commit 04f7bd7884
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB

View file

@ -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