X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=src%2Fcheckpoint.c;h=9f031f7e277f5247efe944d8bfedb8d95e62abef;hp=cde5e590284e74cc0ca1208febc72a234830de25;hb=cf7169a2ede9bb08b71de68fe0c8bbecf827abe6;hpb=138fc7e67e3d9845cd7d81aad0e9c7724784f9b9 diff --git a/src/checkpoint.c b/src/checkpoint.c index cde5e59..9f031f7 100644 --- a/src/checkpoint.c +++ b/src/checkpoint.c @@ -80,7 +80,7 @@ checkpoint_compile_action (const char *str) if (strcmp (str, ".") == 0 || strcmp (str, "dot") == 0) alloc_action (cop_dot); - if (strcmp (str, "bell") == 0) + else if (strcmp (str, "bell") == 0) alloc_action (cop_bell); else if (strcmp (str, "echo") == 0) alloc_action (cop_echo);