Added pgrep test

pull/85/head
deajan 8 years ago
parent 31b1f0791a
commit d6b5fcc20f

@ -136,6 +136,11 @@ function CheckEnvironment {
Logger "rsync not present. Sync cannot start." "CRITICAL"
exit 1
fi
if ! type pgrep > /dev/null 2>&1 ; then
Logger "pgrep not present. Sync cannot start." "CRITICAL"
exit 1
fi
}
# Only gets checked in config file mode where all values should be present

Loading…
Cancel
Save