1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-30 22:50:10 +03:00

F #3951: Detect guacd in the path

This commit is contained in:
Tino Vazquez 2020-11-05 17:34:26 +01:00
parent 22da02d634
commit 8279aa0c1a
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -118,7 +118,8 @@ stop()
start_guacd()
{
if [ ! -f "$GUACD_BIN" ]; then
if ! hash $GUACD_BIN &>/dev/null; then
echo "Cannot find $GUACD_BIN."
return 1
fi