overlay: fix compilation with glibc
authorRoman Yeryomin <roman@advem.lv>
Sun, 7 Jan 2018 18:04:02 +0000 (20:04 +0200)
committerJohn Crispin <john@phrozen.org>
Sat, 13 Jan 2018 15:27:23 +0000 (16:27 +0100)
commit18090d97b61cc091ed3f49c3ec8ba42c761f1d15
treee1d2d14e49bb442919d981982818d3eab6f8da2c
parent2a9a6ea4ac221f913ea318d7ac17ff2c31bdf5c2
overlay: fix compilation with glibc

glibc fails with:
warn_unused_result [-Wunused-result]
   system("cp -a /tmp/root/upper/* / 2>/dev/null");

Regression intoroduced with 11efbf3b90f031ce634fc38cad07a4aef2985777
Reported here:
https://www.mail-archive.com/lede-dev@lists.infradead.org/msg10502.html

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
libfstools/overlay.c