mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-22 09:53:40 +08:00
Check script location
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user