ap

An audio player suited to my tastes
Log | Files | Refs | README | LICENSE

commit c5833141763a2b2fc80271cacbacd0ab87074e12
parent da761e393375233683d206a7d2f4ad8d67167998
Author: Jacob R. Edwards <n/a>
Date:   Sat,  8 Oct 2022 22:09:02 -0700

Fix client in-built xargs considering one argument as failure

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

diff --git a/apc/apc.c b/apc/apc.c @@ -161,7 +161,7 @@ main(int argc, char *argv[]) if (apc_bufword(apc, argv[i])) die(ewrite); - if (insert && xargs(apc, stdin) <= 1) + if (insert && xargs(apc, stdin) < 1) die("Unable to get arguments from stdin"); if (apc_write(apc))