]> arthur.barton.de Git - netatalk.git/commitdiff
Creation of AppleDesktop directorey failed due to a missing path element when constru...
authorFrank Lahm <franklahm@googlemail.com>
Mon, 16 Apr 2012 14:53:56 +0000 (16:53 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Mon, 16 Apr 2012 14:53:56 +0000 (16:53 +0200)
etc/afpd/desktop.c

index 5c45d31285384eccde71eee93c513cb756925780..8ba1d1511d36dbd7efb2036ce0c22357bc278b0a 100644 (file)
@@ -44,7 +44,7 @@ static void create_appledesktop_folder(const struct vol * vol)
     struct stat st;
 
     dtpath = bfromcstr(vol->v_dbpath);
-    bcatcstr(dtpath, ".");
+    bcatcstr(dtpath, "/" APPLEDESKTOP);
 
     if (stat(bdata(dtpath), &st) != 0) {
         become_root();