route/pktloc: read_pktlocs() always returned success status

Error found by coverity.

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-06-10 18:15:52 +02:00
parent 90cfeeecac
commit 3d5e4883be

View file

@ -144,7 +144,7 @@ errout_close:
errout:
free(path);
return 0;
return err;
}
/** @endcond */