diff options
Diffstat (limited to 'src/skaembutils/s6-hiercopy.c')
-rw-r--r-- | src/skaembutils/s6-hiercopy.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/skaembutils/s6-hiercopy.c b/src/skaembutils/s6-hiercopy.c deleted file mode 100644 index a57dd69..0000000 --- a/src/skaembutils/s6-hiercopy.c +++ /dev/null @@ -1,18 +0,0 @@ -/* ISC license. */ - -#include <sys/stat.h> - -#include <skalibs/strerr.h> -#include <skalibs/djbunix.h> - -#define USAGE "s6-hiercopy src dst" - -int main (int argc, char const *const *argv) -{ - PROG = "s6-hiercopy" ; - if (argc < 3) strerr_dieusage(100, USAGE) ; - umask(0) ; - if (!hiercopy(argv[1], argv[2])) - strerr_diefu4sys(111, "copy hierarchy from ", argv[1], " to ", argv[2]) ; - return 0 ; -} |