X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fcheckpoint.c;h=9f031f7e277f5247efe944d8bfedb8d95e62abef;hb=5354888e400e0565e85ac29e4826c0f7840cab45;hp=cde5e590284e74cc0ca1208febc72a234830de25;hpb=745832a280f635b26d67e2cb8d8882ac0432e5a0;p=chaz%2Ftar 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);