]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init.sh: fix version output
authorHarald Hoyer <harald@redhat.com>
Tue, 2 Apr 2013 11:29:24 +0000 (13:29 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 2 Apr 2013 11:29:24 +0000 (13:29 +0200)
modules.d/99base/init.sh

index b441a2765fcc0aaa54b4e995e1103c805ee06d5d..410201a4383cdca4da07359ebc1f967f4e9a3af4 100755 (executable)
@@ -104,7 +104,7 @@ else
 fi
 
 [ -f /etc/initrd-release ] && . /etc/initrd-release
-[ -n "$VERSION" ] && info "dracut-$VERSION"
+[ -n "$VERSION_ID" ] && info "$NAME-$VERSION_ID"
 
 source_conf /etc/conf.d