summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-04-02 15:00:28 (GMT)
committer Simon <simon@hardwired.org.uk>2011-04-04 15:12:13 (GMT)
commit63089242a54f54fa4a199ba20697ddc5486df94e (patch)
tree6fee55f12737d0bcbd9ebe62e89bd8199fda4acc /src/interface.c
parent90f8c4f4835004e683ab5fe06937fa1f1e5ce637 (diff)
downloadpowder-63089242a54f54fa4a199ba20697ddc5486df94e.zip
powder-63089242a54f54fa4a199ba20697ddc5486df94e.tar.gz
Successful deletion is not an error
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index 138a8cf..885611d 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -3786,6 +3786,12 @@ int execute_delete(pixel *vid_buf, char *id)
free(result);
return 0;
}
+ if (result && strncmp(result, "INFO: ", 6)==0)
+ {
+ info_ui(vid_buf, "Info", result+6);
+ free(result);
+ return 0;
+ }
if (result && strncmp(result, "OK", 2))
{
error_ui(vid_buf, 0, result);