spawn: reduce 2 lines, change fprintf() + perror() + exit() to die("... :")
authorexplosion-mental <explosion0mental@gmail.com>
Fri, 29 Jul 2022 23:26:04 +0000 (18:26 -0500)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Tue, 2 Aug 2022 16:08:51 +0000 (18:08 +0200)
commit5b2e5e7a4001479e4dc3e245f96e49f7ea0da658
treeae9e4550e77d11241f92847f4828aedcdb02774a
parent786f6e2a6f8466ad94706781bc93bc6eb6e69512
spawn: reduce 2 lines, change fprintf() + perror() + exit() to die("... :")

when calling die and the last character of the string corresponds to
':', die() will call perror(). See util.c

Also change EXIT_SUCCESS to EXIT_FAILURE
dwm.c