Removed unused code

pull/184/head
deajan 5 years ago
parent 21bd1657ec
commit 145814f231

@ -228,22 +228,6 @@ function Usage {
exit 128
}
function CheckEnvironment {
if [ "$REMOTE_OPERATION" == "yes" ] || [ "$REMOTE_OPERATION" == true ]; then
if ! type -p ssh > /dev/null 2>&1
then
Logger "ssh not present. Cannot start sync." "CRITICAL"
return 1
fi
fi
if ! type -p rsync > /dev/null 2>&1
then
Logger "rsync not present. Sync cannot start." "CRITICAL"
return 1
fi
}
function LoadConfigFile {
local config_file="${1}"

Loading…
Cancel
Save