systemctl: introduce a single function to set the wall message
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Sep 2015 09:51:51 +0000 (11:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2015 19:55:51 +0000 (21:55 +0200)
commitf2d11d35e90d5143d2bc6103ff451778909644f0
treebb9f0ac4d0dbfbf7ae45bf56def8fb26b37af74b
parentb9e74c399458a1146894ce371e7d85c60658110c
systemctl: introduce a single function to set the wall message

Let's not have the same code three times, but reduce it to one function.
src/systemctl/systemctl.c