socket: properly label socket symlinks
authorLennart Poettering <lennart@poettering.net>
Thu, 23 Oct 2014 21:58:01 +0000 (23:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Oct 2014 21:58:01 +0000 (23:58 +0200)
src/core/socket.c

index 7ba3a1b..9004cb4 100644 (file)
@@ -1120,7 +1120,7 @@ static int socket_symlink(Socket *s) {
                 return 0;
 
         STRV_FOREACH(i, s->symlinks)
-                symlink(p, *i);
+                symlink_label(p, *i);
 
         return 0;
 }