Browse Source

Even more stuff added, a result of staying up too late.

master
freesource 24 years ago
parent
commit
9269b71379
  1. 11
      gBootRoot

11
gBootRoot

@ -1073,14 +1073,21 @@ sub uml_box {
my $pid; my $pid;
if ($entry_advanced[8] && if ($entry_advanced[8] &&
$entry_advanced[10]) { $entry_advanced[10]) {
# Check to see if it is an executable # Check to see if it actually exists
my $executable = (split(/\s+/,$entry_advanced[8]))[0]; my $executable = (split(/\s+/,$entry_advanced[8]))[0];
if (!find_file_in_path($executable)) { if (!find_file_in_path(basename($executable))) {
error_window("gBootRoot Error: " . error_window("gBootRoot Error: " .
"Enter a valid xterm, and " . "Enter a valid xterm, and " .
"executable option."); "executable option.");
return; return;
} }
if ($executable =~ m,/,) {
if (! -e $executable) {
error_window("gBootRoot Error: " .
"Enter a valid path for the xterm.");
return;
}
}
unless ($pid = fork) { unless ($pid = fork) {
unless (fork) { unless (fork) {

Loading…
Cancel
Save