Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 17:36:31 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r438529 - in head/emulators/open-vm-tools: . files
Message-ID:  <201704141736.v3EHaVkO048204@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Fri Apr 14 17:36:31 2017
New Revision: 438529
URL: https://svnweb.freebsd.org/changeset/ports/438529

Log:
  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

Modified:
  head/emulators/open-vm-tools/Makefile
  head/emulators/open-vm-tools/files/vmware-kmod.in

Modified: head/emulators/open-vm-tools/Makefile
==============================================================================
--- head/emulators/open-vm-tools/Makefile	Fri Apr 14 16:50:18 2017	(r438528)
+++ head/emulators/open-vm-tools/Makefile	Fri Apr 14 17:36:31 2017	(r438529)
@@ -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: head/emulators/open-vm-tools/files/vmware-kmod.in
==============================================================================
--- head/emulators/open-vm-tools/files/vmware-kmod.in	Fri Apr 14 16:50:18 2017	(r438528)
+++ head/emulators/open-vm-tools/files/vmware-kmod.in	Fri Apr 14 17:36:31 2017	(r438529)
@@ -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
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704141736.v3EHaVkO048204>