{mode} returns "-1" if lstat fails (rev. 26)

Signed-off-by: nixnodes <code@eth.si>
Latest: 1.9-26

Signed-off-by: nixnodes <code@eth.si>