mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Check script location
This commit is contained in:
parent
09e2e798a2
commit
e6eaa03fb0
@ -23,7 +23,7 @@ start() {
|
||||
echo 'Starting agent service...'
|
||||
chmod 666 /dev/ttyS0
|
||||
|
||||
if [ -f "$SCRIPT" ]; then
|
||||
if [ ! -f "$SCRIPT" ]; then
|
||||
|
||||
echo 'ERROR: Agent script not found!' > /dev/ttyS0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user