aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index e542683d8..518bf5f0d 100644
--- a/src/command.c
+++ b/src/command.c
@@ -223,8 +223,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: