From 75e06d85584fc3ebfa26fbca97ea60b687247bb0 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 10 Jul 2014 05:18:00 -0500 Subject: Style Fixes --- sh/runscript.sh.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sh/runscript.sh.in') diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index c72a784c..9b2ae0e0 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -216,12 +216,12 @@ fi # Apply cgroups settings if defined if [ "$1" = "start" ] ; then -if [ "$(command -v cgroup_add_service)" = "cgroup_add_service" ]; then - cgroup_add_service /sys/fs/cgroup/openrc - cgroup_add_service /sys/fs/cgroup/systemd/system -fi -[ "$(command -v cgroup_set_limits)" = "cgroup_set_limits" ] && \ - cgroup_set_limits + if [ "$(command -v cgroup_add_service)" = "cgroup_add_service" ]; then + cgroup_add_service /sys/fs/cgroup/openrc + cgroup_add_service /sys/fs/cgroup/systemd/system + fi + [ "$(command -v cgroup_set_limits)" = "cgroup_set_limits" ] && \ + cgroup_set_limits fi # Load our script -- cgit v1.2.3