Make vmware-kmod startup script to return 1 when it fails
Approved by: swills (maintainer) MFH: 2017Q2 Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D10397
This commit is contained in:
parent
ce2b542ee7
commit
c8cb3b67f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438529
2 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= open-vm-tools
|
||||
PORTVERSION= ${RELEASE_VER}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 2
|
||||
MASTER_SITES= https://github.com/vmware/open-vm-tools/files/590760/
|
||||
DISTNAME= open-vm-tools-${RELEASE_VER}-${BUILD_VER}
|
||||
|
|
|
@ -25,6 +25,7 @@ vmware_mod_load()
|
|||
echo "done."
|
||||
else
|
||||
echo "failed."
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
@ -36,6 +37,7 @@ vmware_mod_status()
|
|||
echo "loaded."
|
||||
else
|
||||
echo "not loaded"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue