diff options
author | Max Kellermann <max@musicpd.org> | 2018-10-31 19:19:07 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-10-31 19:19:07 +0100 |
commit | 901a48c9a497a04d28ad884390d8e583c46515f1 (patch) | |
tree | 054f6adddf4908be2df8d2a7d47f03095b9fbd6c /src/command | |
parent | b0994bad31619e1a3371c4441555bbf784055559 (diff) |
command/sticker: return ACK_ERROR_NO_EXIST for "no such sticker"
Closes #389
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/StickerCommands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |