diff --git a/dev/n_osync.sh b/dev/n_osync.sh index af95ec9..8664b2e 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -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