slstatus

Fork of suckless' slstatus with my personal patches
git clone https://git.instinctive.eu/slstatus.git
Log | Files | Refs | README | LICENSE

commit db07244cb805c6c58b68e1aeed203c651976f034
parent 2fdb2ede0452b75d7b969aed61f0bdf5f22a0720
Author: Aaron Marcher <info@nulltime.net>
Date:   Sun, 18 Sep 2016 16:54:46 +0200

do not exit on failed smprintf

Diffstat:
Mslstatus.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slstatus.c b/slstatus.c @@ -90,7 +90,7 @@ smprintf(const char *fmt, ...) ret = malloc(++len); if (ret == NULL) { warn("Malloc failed."); - exit(1); + return "n/a"; } va_start(ap, fmt);