]> git.cworth.org Git - tar/blobdiff - src/checkpoint.c
Imported Upstream version 1.21
[tar] / src / checkpoint.c
index cde5e590284e74cc0ca1208febc72a234830de25..9f031f7e277f5247efe944d8bfedb8d95e62abef 100644 (file)
@@ -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);