mirror of
https://github.com/deajan/osync
synced 2024-11-03 15:40:14 +00:00
Added pgrep test
This commit is contained in:
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…
Reference in New Issue
Block a user