minor perror behavior fix

patch by nsz
1 file changed