@@ -1,15 +1,19 @@
-From 089a8f0ddb87f1a68b8463ee79a4ae76d58d8a57 Mon Sep 17 00:00:00 2001
+From b9d97ce84a677f75b52af8eef4163e9b51f15a92 Mon Sep 17 00:00:00 2001
From: Marko Saukko <marko.saukko@jollamobile.com>
Date: Thu, 25 Apr 2013 10:30:00 +0000
Subject: [PATCH 3/3] Ignore return value and notify systemd that we are done.
+Return value is ignored as it doesn't seem to affect to functionality and if we
+dont return 0 systemd can think that this service failed and other services
+that depend on it might not start.
+
Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
---
usr/sbin/pvrsrvinit | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/usr/sbin/pvrsrvinit b/usr/sbin/pvrsrvinit
-index a309efd..ff3e8d7 100755
+index a309efd..9db29ad 100755
--- a/usr/sbin/pvrsrvinit
+++ b/usr/sbin/pvrsrvinit
@@ -87,5 +87,8 @@ if [ "$(readlink /usr/lib/libsrv_um.so)" != "libsrv_um_r${SGX_CORE_REV}.so" -o \
@@ -19,9 +23,9 @@
- exec /usr/sbin/pvrsrvinit_r$SGX_CORE_REV
+ /usr/sbin/pvrsrvinit_r$SGX_CORE_REV
+ echo "/usr/sbin/pvrsrvinit_r$SGX_CORE_REV returned $(echo $?)."
++ exec /bin/systemd-notify --ready
fi
+
-+exec /bin/systemd-notify --ready
--
1.7.10.3
|