X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcheckpoint.c;fp=src%2Fcheckpoint.c;h=9f031f7e277f5247efe944d8bfedb8d95e62abef;hb=6901594ac45b88e68a19dd7221511ddf9ff44f66;hp=cde5e590284e74cc0ca1208febc72a234830de25;hpb=c78356fedadbe36aae1e063c69d11636c86d35e6;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);