strerr_die6sys(111,FATAL,"unable to chmod ",home,"/",file,": ");
}
-void main()
+void main(argc,argv)
+int argc;
+char *argv[];
{
+ char *home = 0;
+ if (argc > 1)
+ home = argv[1];
fdsourcedir = open_read(".");
if (fdsourcedir == -1)
strerr_die2sys(111,FATAL,"unable to open current directory: ");
umask(077);
- hier();
+ hier(home);
_exit(0);
}