From: Mike McCormack Date: Fri, 18 Nov 2011 03:11:30 +0000 (+0900) Subject: Revert unnecessary difference with upstream X-Git-Tag: REL_F_I9500_20111122_1~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe0f6af8d629b40e171b87e3cc480f13a9fcb60b;p=framework%2Fuifw%2Felementary.git Revert unnecessary difference with upstream --- diff --git a/src/bin/quicklaunch.c b/src/bin/quicklaunch.c index fd1ed7c..50f26ec 100644 --- a/src/bin/quicklaunch.c +++ b/src/bin/quicklaunch.c @@ -95,10 +95,10 @@ handle_run(int fd, unsigned long bytes) int argc; buf = alloca(bytes); - if (read(fd, buf, bytes) <= 0) + if (read(fd, buf, bytes) < 0) { - close(fd); - return; + close(fd); + return; } close(fd); argc = ((unsigned long *)(buf))[0];