gns3.service.openrc: make openrc script posix compliant

This commit is contained in:
Michael Mair-Keimberger committed 2022-08-08 19:23:29 +02:00
1 parent 0433065b8b
commit 3b108563a0
1 file changed
+2 -2
+2 -2
View File
@@ -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