More busybox love

This commit is contained in:
deajan 2016-10-23 10:44:27 +02:00
parent 6665b7d9d9
commit 0e049c4850
1 changed files with 2 additions and 0 deletions

View File

@ -1019,6 +1019,7 @@ function GetLocalOS {
function GetRemoteOS { function GetRemoteOS {
__CheckArguments 0 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG __CheckArguments 0 $# ${FUNCNAME[0]} "$@" #__WITH_PARANOIA_DEBUG
local retval
local cmd local cmd
local remoteOsVar local remoteOsVar
@ -1030,6 +1031,7 @@ function GetRemoteOS {
Logger "cmd: $cmd" "DEBUG" Logger "cmd: $cmd" "DEBUG"
eval "$cmd" & eval "$cmd" &
WaitForTaskCompletion $! 120 240 ${FUNCNAME[0]}"-0" true $KEEP_LOGGING WaitForTaskCompletion $! 120 240 ${FUNCNAME[0]}"-0" true $KEEP_LOGGING
retval=$?
if [ $retval == 0 ]; then if [ $retval == 0 ]; then
remoteOsVar="BusyBox" remoteOsVar="BusyBox"
else else