mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fix typo in oneacctd when oned is not running(cherry picked from commit c2d83f5bb9d5653b9089f9cf0ac87eccda28cf75)
This commit is contained in:
parent
c05b944c01
commit
32ef34c659
@ -34,7 +34,7 @@ function oned_running {
|
||||
ONEPID=`cat $ONE_PID 2> /dev/null`
|
||||
ps $ONEPID > /dev/null 2>&1
|
||||
if [ ! -f "$LOCK_FILE" -o ! -f "$ONE_PID" -o $? -ne 0 ]; then
|
||||
echo not running
|
||||
echo oned not running
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user