diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 17:54:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 17:54:07 +0000 |
commit | 9964e468c0209f6b8286e0b08109817c845a3079 (patch) | |
tree | 3c53288cff0d4c2e32169d8eb4cd53cc343ad0bc /src/vimrun.c | |
parent | d5ab34bd5ecc748d5502f149c476968e5ec2b7c9 (diff) | |
download | vim-9964e468c0209f6b8286e0b08109817c845a3079.zip |
updated for version 7.1a
Diffstat (limited to 'src/vimrun.c')
-rw-r--r-- | src/vimrun.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vimrun.c b/src/vimrun.c index fed5076a5..c423e6cc5 100644 --- a/src/vimrun.c +++ b/src/vimrun.c @@ -99,7 +99,9 @@ main(void) */ retval = system(p); - if (retval != 0) + if (retval == -1) + perror("vimrun system(): "); + else if (retval != 0) printf("shell returned %d\n", retval); if (!silent) |