Browse Source

Make pipe example clean up after itself

rexim 4 years ago
parent
commit
c83c7c9d80
1 changed files with 1 additions and 2 deletions
  1. 1 2
      examples/pipe.c

+ 1 - 2
examples/pipe.c

@@ -7,9 +7,8 @@ int main(void)
           CHAIN_CMD(PATH("tools", "rot13")),
           CHAIN_CMD(PATH("tools", "hex")),
           OUT("output.txt"));
-    INFO("------------------------------------------------------------");
     CMD(PATH("tools", "cat"), "output.txt");
-    INFO("------------------------------------------------------------");
+    RM("output.txt");
 
     return 0;
 }