|
|
@@ -77,7 +77,7 @@ int main(int argc, const char **argv) {
|
|
|
|
|
|
/* in install.c, the runtime path always ends with '/' */
|
|
|
strcat(dir, "users/");
|
|
|
- strncat(dir, argv[1], PATH_MAX);
|
|
|
+ strcat(dir, argv[1]);
|
|
|
|
|
|
if (unlikely((fd = open(dir, O_WRONLY | O_CREAT | O_EXCL, 0644)) < 0)) {
|
|
|
perror(argv[0]);
|