svn commit: r438691 - in branches/2017Q2/emulators/open-vm-tools: . files

Renato Botelho garga at FreeBSD.org
Mon Apr 17 12:40:48 UTC 2017


Author: garga
Date: Mon Apr 17 12:40:47 2017
New Revision: 438691
URL: https://svnweb.freebsd.org/changeset/ports/438691

Log:
  MFH: r438529
  
  Make vmware-kmod startup script to return 1 when it fails
  
  Approved by:	ports-secteam (junovitch), swills (maintainer)
  Sponsored by:	Rubicon Communications (Netgate)
  Differential Revision:	https://reviews.freebsd.org/D10397

Modified:
  branches/2017Q2/emulators/open-vm-tools/Makefile
  branches/2017Q2/emulators/open-vm-tools/files/vmware-kmod.in
Directory Properties:
  branches/2017Q2/   (props changed)

Modified: branches/2017Q2/emulators/open-vm-tools/Makefile
==============================================================================
--- branches/2017Q2/emulators/open-vm-tools/Makefile	Mon Apr 17 12:14:18 2017	(r438690)
+++ branches/2017Q2/emulators/open-vm-tools/Makefile	Mon Apr 17 12:40:47 2017	(r438691)
@@ -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}

Modified: branches/2017Q2/emulators/open-vm-tools/files/vmware-kmod.in
==============================================================================
--- branches/2017Q2/emulators/open-vm-tools/files/vmware-kmod.in	Mon Apr 17 12:14:18 2017	(r438690)
+++ branches/2017Q2/emulators/open-vm-tools/files/vmware-kmod.in	Mon Apr 17 12:40:47 2017	(r438691)
@@ -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
 }
 


More information about the svn-ports-all mailing list