Skip to content

Commit bc88583

Browse files
authored
fix missing new line
1 parent 6c37fc7 commit bc88583

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addons/packages/packetfence.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,8 @@ rm -rf $RPM_BUILD_ROOT
624624
# This (extremelly) ugly hack below will make the current processes part of a cgroup other than the one for user-0.slice
625625
# This will allow for the current shells that are opened to be protected against stopping when we'll be calling isolate below which stops user-0.slice
626626
# New shells will not be placed into user-0.slice since systemd-logind will be disabled and masked
627-
/bin/bash -c "/usr/bin/systemctl status user-0.slice | /usr/bin/egrep -o '─[0-9]+' | /usr/bin/sed 's/─//g' | /usr/bin/xargs -I{} /bin/bash -c '/usr/bin/kill -0 {} > /dev/null 2>/dev/null && /usr/bin/echo {} > /sys/fs/cgroup/systemd/tasks'"/usr/bin/systemctl stop systemd-logind
627+
/bin/bash -c "/usr/bin/systemctl status user-0.slice | /usr/bin/egrep -o '─[0-9]+' | /usr/bin/sed 's/─//g' | /usr/bin/xargs -I{} /bin/bash -c '/usr/bin/kill -0 {} > /dev/null 2>/dev/null && /usr/bin/echo {} > /sys/fs/cgroup/systemd/tasks'"
628+
/usr/bin/systemctl stop systemd-logind
628629
/usr/bin/systemctl --now mask systemd-logind
629630
/usr/bin/systemctl daemon-reload
630631

0 commit comments

Comments
 (0)