tmisu

Notification to stdout daemon
git clone https://git.inz.fi/tmisu/
Log | Files | Refs | README | LICENSE

commit d6861ee09143c35266810f3f438d3a51b05df1ec
parent a9fb768d561fb33ee1889e495636821abe705485
Author: Sweets <Sweets@users.noreply.github.com>
Date:   Sun, 20 Sep 2020 12:20:31 -0700

Fix infinite loop

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

diff --git a/src/tiramisu.c b/src/tiramisu.c @@ -28,7 +28,7 @@ int main(int argc, char **argv) { /* Parse arguments */ char argument; - while ((argument = getopt(argc, argv, "hjd:"))) { + while ((argument = getopt(argc, argv, "hjd:")) >= 0) { switch (argument) { case 'd': delimiter = optarg;