Skip to content
Snippets Groups Projects
Commit a61ab713 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

fix check binaries + tcp processname

parent 1abfd8c1
No related branches found
No related tags found
1 merge request!129Db Profiles
......@@ -108,7 +108,7 @@ function dbdetect.exists(){
local binary; binary=$( ini.value "binary" )
if [ -n "${binary}" ]; then
for mybinary in $( echo "${binary}" | tr "," " " ); do
if ! dbdetect._requireProcess "$mybinary" 1 >/dev/null 2>&1; then
if ! which "$mybinary" >/dev/null 2>&1; then
dbdetect._wd "... Missing binary: ${mybinary}"
return 1
fi
......@@ -119,7 +119,7 @@ function dbdetect.exists(){
# --- check process
local process; process=$( ini.value "process" )
if [ -n "${process}" ]; then
if ! j_requireProcess "${process}" 1 >/dev/null; then
if ! dbdetect._requireProcess "${process}" 1 >/dev/null; then
dbdetect._wd "... Missing process: ${process}"
return 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment