From 101cb2654904612b1959724ea313c63a5b8a5e6a Mon Sep 17 00:00:00 2001 From: deajan Date: Sat, 22 Oct 2016 20:59:50 +0200 Subject: [PATCH] Cosmetic fixes --- dev/n_osync.sh | 4 ++-- dev/ofunctions.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index 301920a..a7489e5 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" PROGRAM_VERSION=1.2-beta2 -PROGRAM_BUILD=2016102202 +PROGRAM_BUILD=2016102203 IS_STABLE=no # Execution order #__WITH_PARANOIA_DEBUG @@ -773,7 +773,7 @@ function syncAttrs { local destReplica if [ "$LOCAL_OS" == "BUSYBOX" ]; then - Logger "Skipping acl synchronization (busybox doesn't have join command)." "NOTICE" + Logger "Skipping acl synchronization. Busybox doesn't have join command." "NOTICE" return 0 fi diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 0f20abf..bb9f8cf 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,6 +1,6 @@ #### MINIMAL-FUNCTION-SET BEGIN #### -## FUNC_BUILD=2016102202 +## FUNC_BUILD=2016102203 ## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## To use in a program, define the following variables: @@ -946,7 +946,7 @@ function GetLocalOS { local localOsVar - if type -p busybox; then + if type -p busybox > /dev/null; then localOsVar="BusyBox" else localOsVar="$(uname -spio 2>&1)"