Commit b4fc882b authored by Shashi Guruprasad's avatar Shashi Guruprasad

Minor fixes for a problem that caused nse to not start up.

parent 27d76461
......@@ -455,7 +455,7 @@ if { $simcode_present == 1 } {
set tmccbossinfo [open $CLIENTVARDIR/boot/tmcc.bossinfo r]
set tmccboss [read $tmccbossinfo]
close $tmccbossinfo
set boss [lindex [split $tmccboss " "] 0]
set boss [lindex [split $tmccboss " \n"] 0]
set pideidlist [split [exec hostname] "."]
set vnode [lindex $pideidlist 0]
set eid [lindex $pideidlist 1]
......
......@@ -95,7 +95,7 @@ my $inixp;
#
# The role of this pnode
#
my $role = "";
my $role;
# Load up the paths. Its conditionalized to be compatabile with older images.
# Note this file has probably already been loaded by the caller.
......@@ -144,7 +144,7 @@ BEGIN
open(VN, "$BOOTDIR/role");
$role = <VN>;
close(VN);
$role = chomp($role);
chomp($role);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment