commit 009ee7bb34f227905b8f1604be3b59303be07195 parent fe80ae9fdd45c763e73d30562539ff43620e130d Author: sin <sin@2f30.org> Date: Mon, 9 Jun 2014 11:39:42 +0100 Print the package name that was removed Diffstat:
M | removepkg.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/removepkg.c b/removepkg.c @@ -78,6 +78,7 @@ main(int argc, char *argv[]) if (strcmp(dp->d_name, basename(filename)) == 0) { if (removepkg(argv[i]) != 0) return EXIT_FAILURE; + printf("removed %s\n", argv[i]); found = 1; break; }