set: check seek success

This could silently fail which leads to surprising behaviour.

Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
1 file changed