+#!/usr/local/bin/perl
# oschooser.pl
# Read the list of operating systems and ask the user to choose
# an OS and version
elsif (-r "/etc/issue") {
$etc_issue = `cat /etc/issue`;
}
- $uname = `uname -a`;
+ $uname = `uname -a 2>/dev/null`;
foreach $o (@list) {
if ($o->[4] && eval "$o->[4]") {
# Got a match! Resolve the versions