Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- tools/libvirt_recover_xattrs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libvirt_recover_xattrs.sh b/tools/libvirt_recover_xattrs.sh index 3907413c63..cb98497732 100755 --- a/tools/libvirt_recover_xattrs.sh +++ b/tools/libvirt_recover_xattrs.sh @@ -34,7 +34,7 @@ URI=("qemu:///system" LIBVIRT_XATTR_PREFIXES=("trusted.libvirt.security" "system.libvirt.security") -if [ `whoami` != "root" ]; then +if [ $(whoami) != "root" ]; then die "Must be run as root" fi -- 2.28.0