From 3a988bbfb71018973e255dcfccdccb7da7682a74 Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 20 Mar 2016 16:53:18 +0100 Subject: [PATCH] Minor enhancement in os detection log --- dev/debug_osync.sh | 6 +++--- dev/ofunctions.sh | 6 +++--- osync.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dev/debug_osync.sh b/dev/debug_osync.sh index a2ff503..c38232b 100755 --- a/dev/debug_osync.sh +++ b/dev/debug_osync.sh @@ -11,7 +11,7 @@ PROGRAM_VERSION=1.1-dev PROGRAM_BUILD=2016031002 IS_STABLE=no -## FUNC_BUILD=2016032001 +## FUNC_BUILD=2016032002 ## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode @@ -421,7 +421,7 @@ function GetLocalOS { ;; *) if [ "$IGNORE_OS_TYPE" == "yes" ]; then #DOC: Undocumented option - Logger "Running on unknown local OS." "WARN" + Logger "Running on unknown local OS [$local_os_var]." "WARN" return fi Logger "Running on >> $local_os_var << not supported. Please report to the author." "ERROR" @@ -485,7 +485,7 @@ function GetRemoteOS { ;; *) if [ "$IGNORE_OS_VER" == "yes" ]; then #DOC: Undocumented option - Logger "Running on unknown remote OS." "WARN" + Logger "Running on unknown remote OS [$remote_os_var]." "WARN" return fi Logger "Running on remote OS failed. Please report to the author if the OS is not supported." "CRITICAL" diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index f52dba5..79ee896 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,4 +1,4 @@ -## FUNC_BUILD=2016032001 +## FUNC_BUILD=2016032002 ## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode @@ -408,7 +408,7 @@ function GetLocalOS { ;; *) if [ "$IGNORE_OS_TYPE" == "yes" ]; then #DOC: Undocumented option - Logger "Running on unknown local OS." "WARN" + Logger "Running on unknown local OS [$local_os_var]." "WARN" return fi Logger "Running on >> $local_os_var << not supported. Please report to the author." "ERROR" @@ -472,7 +472,7 @@ function GetRemoteOS { ;; *) if [ "$IGNORE_OS_VER" == "yes" ]; then #DOC: Undocumented option - Logger "Running on unknown remote OS." "WARN" + Logger "Running on unknown remote OS [$remote_os_var]." "WARN" return fi Logger "Running on remote OS failed. Please report to the author if the OS is not supported." "CRITICAL" diff --git a/osync.sh b/osync.sh index 859c4a9..eff718c 100755 --- a/osync.sh +++ b/osync.sh @@ -11,7 +11,7 @@ PROGRAM_VERSION=1.1-dev PROGRAM_BUILD=2016031002 IS_STABLE=no -## FUNC_BUILD=2016032001 +## FUNC_BUILD=2016032002 ## BEGIN Generic functions for osync & obackup written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## type -p does not work on platforms other than linux (bash). If if does not work, always assume output is not a zero exitcode @@ -407,7 +407,7 @@ function GetLocalOS { ;; *) if [ "$IGNORE_OS_TYPE" == "yes" ]; then #DOC: Undocumented option - Logger "Running on unknown local OS." "WARN" + Logger "Running on unknown local OS [$local_os_var]." "WARN" return fi Logger "Running on >> $local_os_var << not supported. Please report to the author." "ERROR" @@ -470,7 +470,7 @@ function GetRemoteOS { ;; *) if [ "$IGNORE_OS_VER" == "yes" ]; then #DOC: Undocumented option - Logger "Running on unknown remote OS." "WARN" + Logger "Running on unknown remote OS [$remote_os_var]." "WARN" return fi Logger "Running on remote OS failed. Please report to the author if the OS is not supported." "CRITICAL"