summaryrefslogtreecommitdiff
path: root/src/bin/edje
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:00:37 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-14 19:00:37 +0900
commit27ef84e372ce9d15ec5d07bf5cf27e387eb079f4 (patch)
tree9f95f738c6d2102ec4226e5be79ab19a9dc467f5 /src/bin/edje
parent2ee14e599757aa6914491149945b63f5c80e602a (diff)
edje_decc - fix unchecked return value
fix CID 1039719
Diffstat (limited to 'src/bin/edje')
-rw-r--r--src/bin/edje/edje_decc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/edje/edje_decc.c b/src/bin/edje/edje_decc.c
index 747c7d5118..05d46b8ff6 100644
--- a/src/bin/edje/edje_decc.c
+++ b/src/bin/edje/edje_decc.c
@@ -457,9 +457,10 @@ output(void)
457 fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n", 457 fprintf(f, "%s $@ -id . -fd . %s -o %s.edj\n",
458 edje_file->compiler, sf->name, outdir); 458 edje_file->compiler, sf->name, outdir);
459 fclose(f); 459 fclose(f);
460 chmod(out, 460 if (chmod(out,
461 S_IRUSR | S_IWUSR | S_IXUSR | 461 S_IRUSR | S_IWUSR | S_IXUSR |
462 S_IRGRP | S_IWGRP | S_IXGRP); 462 S_IRGRP | S_IWGRP | S_IXGRP) < 0)
463 ERR("chmod on %s failed", out);
463 } 464 }
464 465
465 WRN("*** CAUTION ***\n" 466 WRN("*** CAUTION ***\n"