mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:03:49 +03:00
libvirt_recover_xattrs: Avoid backticks for subshell
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
d76d7d7d68
commit
7b6bc11f65
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user