*
* pascal.bellard@ads-lu.com
*
- * Licensed under GPLv2 or later, see file License in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
*
*/
#include "libbb.h"
unsigned long count;
FILE *tfp;
+ if (!argv[1])
+ bb_show_usage();
+
if (argv[2]) {
script = argv[2];
if (argv[3])
usleep(delay * factor);
bb_copyfd_exact_size(fd, STDOUT_FILENO, count);
}
-#if ENABLE_FEATURE_CLEAN_UP
- close(fd);
- fclose(tfp);
-#endif
+ if (ENABLE_FEATURE_CLEAN_UP) {
+ close(fd);
+ fclose(tfp);
+ }
return EXIT_SUCCESS;
}