dracut-lib.sh: getarg() returns the value of the last argument
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Jul 2010 16:52:44 +0000 (18:52 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Jul 2010 16:52:44 +0000 (18:52 +0200)
commitadde3a7a279133c55d72a1954961e6a5c4788629
treede63f867c3614f36da892507fcd0eb84e56e3534
parented61aae1415659645ff0c1f22e8716c850516554
dracut-lib.sh: getarg() returns the value of the last argument

a=0 a=1 a=2
$(getarg a) == "2"
modules.d/99base/dracut-lib.sh