fix for #1324: v:shell_error was getting clobbered