Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/openvpn: get rid of -e in S60openvpn shebang
@ 2023-02-04 13:47 Sergey Organov
  2023-02-04 14:39 ` Yann E. MORIN
  2023-02-14 16:17 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Sergey Organov @ 2023-02-04 13:47 UTC (permalink / raw)
  To: buildroot; +Cc: Sergey Organov

The -e switch makes the script terminate on error from
start-stop-daemon, rendering unreachable the code that checks the exit
status.

There is no need in the -e switch in the first place either, as the
script takes care of errors handling.

Signed-off-by: Sergey Organov <sorganov@gmail.com>
---
 package/openvpn/S60openvpn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/openvpn/S60openvpn b/package/openvpn/S60openvpn
index f097cf11ec..00156c80db 100644
--- a/package/openvpn/S60openvpn
+++ b/package/openvpn/S60openvpn
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh
 #
 # Original version by Robert Leslie
 # <rob@mars.org>, edited by iwj and cs

base-commit: c7ea83dd2df315ba4f492a9ef6b24152ba4cc4f3
-- 
2.30.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-14 16:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-04 13:47 [Buildroot] [PATCH] package/openvpn: get rid of -e in S60openvpn shebang Sergey Organov
2023-02-04 14:39 ` Yann E. MORIN
2023-02-04 20:52   ` Sergey Organov
2023-02-14 16:17 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox