changeset 2888:3b7a6bd3fba0

PR3128: pax-mark-vm script calls "exit -1" which is invalid in dash 2016-08-04 Andrew John Hughes <gnu.andrew@member.fsf.org> PR3128: pax-mark-vm script calls "exit -1" which is invalid in dash * NEWS: Updated. * pax-mark-vm.in: Use POSIX-compliant exit value.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Mon, 19 Sep 2016 17:05:44 +0100
parents 9b93a43eeae0
children 6861d9e23185
files ChangeLog NEWS pax-mark-vm.in
diffstat 3 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Sep 19 17:04:34 2016 +0100
+++ b/ChangeLog	Mon Sep 19 17:05:44 2016 +0100
@@ -1,3 +1,11 @@
+2016-08-04  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	PR3128: pax-mark-vm script calls "exit -1" which
+	is invalid in dash
+	* NEWS: Updated.
+	* pax-mark-vm.in:
+	Use POSIX-compliant exit value.
+
 2016-04-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	PR3131: PaX marking fails on filesystems which
--- a/NEWS	Mon Sep 19 17:04:34 2016 +0100
+++ b/NEWS	Mon Sep 19 17:05:44 2016 +0100
@@ -17,6 +17,7 @@
 * Backports
   - S8076221, PR2809, RH1302385: Disable RC4 cipher suites
 * Bug fixes
+  - PR3128: pax-mark-vm script calls "exit -1" which is invalid in dash
   - PR3131: PaX marking fails on filesystems which don't support extended attributes
 
 New in release 2.6.7 (2016-07-28):
--- a/pax-mark-vm.in	Mon Sep 19 17:04:34 2016 +0100
+++ b/pax-mark-vm.in	Mon Sep 19 17:05:44 2016 +0100
@@ -17,7 +17,7 @@
     else
 	if test "x${FAIL_ON_ERROR}" = "xtrue"; then
 	    echo "ERROR: Could not apply PaX markings to files in ${JDK}";
-	    exit -1;
+	    exit 1;
 	else
 	    echo "WARNING: Could not apply PaX markings to files in ${JDK}";
 	fi