Skip to content

Commit

Permalink
4.0.2rc2 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob Dempsey committed Feb 11, 2014
1 parent cbd16cc commit cf22bf8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions oam/install_scripts/remote_command.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ set SERVER [lindex $argv 0]
set PASSWORD [lindex $argv 1]
set COMMAND [lindex $argv 2]
set DEBUG [lindex $argv 3]
if {[catch {myeval $env($USER)} USERNAME]} {
set USERNAME "root"

if {[info exists env(USER)]} {
set USERNAME $env(USER)
} else {
set USERNAME "root"
}

set UNM [lindex $argv 4]
if { $UNM != "" && $UNM != "-" } {
set USERNAME "$UNM"
Expand Down

0 comments on commit cf22bf8

Please sign in to comment.