diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-13 14:24:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-13 14:24:01 +0100 |
commit | b392cbf078526e18db5d54ec37f9580be480fd48 (patch) | |
tree | f2f8f60717bb0fbe3df7452c2e0b1e0c192341d1 /net-misc/gns3-server/files/gns3-server-2.2.33.1-openrc-posix-complaint.patch | |
parent | cd40bc9ab405aca4e72f869db79d9d1ff77d8313 (diff) |
gentoo auto-resync : 13:08:2022 - 14:24:01
Diffstat (limited to 'net-misc/gns3-server/files/gns3-server-2.2.33.1-openrc-posix-complaint.patch')
-rw-r--r-- | net-misc/gns3-server/files/gns3-server-2.2.33.1-openrc-posix-complaint.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/gns3-server/files/gns3-server-2.2.33.1-openrc-posix-complaint.patch b/net-misc/gns3-server/files/gns3-server-2.2.33.1-openrc-posix-complaint.patch new file mode 100644 index 000000000000..9c263bd812f9 --- /dev/null +++ b/net-misc/gns3-server/files/gns3-server-2.2.33.1-openrc-posix-complaint.patch @@ -0,0 +1,21 @@ +commit 3b108563a0784df332791d44cf70bbba0fc81822 +Author: Michael Mair-Keimberger <mmk@levelnine.at> +Date: Mon Aug 8 19:23:16 2022 +0200 + + gns3.service.openrc: make openrc script posix compliant + +diff --git a/init/gns3.service.openrc b/init/gns3.service.openrc +index 8b0864cd..5a574fca 100755 +--- a/init/gns3.service.openrc ++++ b/init/gns3.service.openrc +@@ -23,8 +23,8 @@ depend() { + + checkconfig() { + if yesno "${GNS3_SERVER_LOG_ENABLED}" ; then +- command_args+=" --log ${GNS3_SERVER_LOG}"; +- if [ "${command_user}" ] ; then ++ command_args="${command_args} --log ${GNS3_SERVER_LOG}"; ++ if [ "${command_user}" ] ; then + checkpath --directory --mode 0700 --owner "${command_user}" "${GNS3_SERVER_LOG_PATH}"; + else + unset command_user |