virt-what.in: get effective uid in a portable way
authorAssaf Gordon <assafgordon@gmail.com>
Mon, 15 Sep 2014 18:58:19 +0000 (18:58 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 16 Sep 2014 17:56:37 +0000 (18:56 +0100)
commitf82984fb84e9fed84aa71a50a1bfdfdc356771bd
treee6fcbf8909c813b9fc419fa137268ee6cb052e68
parent6382ef1cb5b8c146bfd35912730dccd68ab4b71a
virt-what.in: get effective uid in a portable way

$EUID is bash-specific. Use the POSIX-compatible 'id -u' instead.
virt-what.in