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>
Mon, 31 Oct 2016 10:14:49 +0000 (06:14 -0400)
commit4f45fd9a33e2778d4386a33a8dcd1b184aabfac5
treeb10140be3163de5c91719136325b0985072094e9
parente3a94b8f36bdbad9df2e7fa12f6f020ba68d4e90
virt-what.in: get effective uid in a portable way

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

(cherry picked from commit f82984fb84e9fed84aa71a50a1bfdfdc356771bd)
virt-what.in