From 901a48c9a497a04d28ad884390d8e583c46515f1 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@musicpd.org>
Date: Wed, 31 Oct 2018 19:19:07 +0100
Subject: [PATCH] command/sticker: return ACK_ERROR_NO_EXIST for "no such
 sticker"

Closes #389
---
 src/command/StickerCommands.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/command/StickerCommands.cxx b/src/command/StickerCommands.cxx
index c3d4708cc..a0972c6f9 100644
--- a/src/command/StickerCommands.cxx
+++ b/src/command/StickerCommands.cxx
@@ -103,7 +103,7 @@ handle_sticker_song(Response &r, Partition &partition, Request args)
 			? sticker_song_delete(*song)
 			: sticker_song_delete_value(*song, args[3]);
 		if (!ret) {
-			r.Error(ACK_ERROR_SYSTEM, "no such sticker");
+			r.Error(ACK_ERROR_NO_EXIST, "no such sticker");
 			return CommandResult::ERROR;
 		}