if (strcmp (path, "/") == 0) {
reply_with_error ("rm -rf: cannot remove root directory");
return -1;
}
if (strcmp (path, "/") == 0) {
reply_with_error ("rm -rf: cannot remove root directory");
return -1;
}
r = command (NULL, &err, "rm", "-rf", buf, NULL);
free (buf);
r = command (NULL, &err, "rm", "-rf", buf, NULL);
free (buf);