aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 6ce5cbed5..f60f4e69e 100644
--- a/src/command.c
+++ b/src/command.c
@@ -220,8 +220,7 @@ static int print_playlist_result(int fd, enum playlist_result result)
return -1;
case PLAYLIST_RESULT_LIST_EXISTS:
- commandError(fd, ACK_ERROR_NO_EXIST,
- "Playlist already exists");
+ commandError(fd, ACK_ERROR_EXIST, "Playlist already exists");
return -1;
case PLAYLIST_RESULT_BAD_NAME: