diff options
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-tlpdb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlpdb b/Master/tlpkg/bin/tl-update-tlpdb index ee07c25e9ed..82ed11ccd46 100755 --- a/Master/tlpkg/bin/tl-update-tlpdb +++ b/Master/tlpkg/bin/tl-update-tlpdb @@ -143,7 +143,12 @@ sub main tlwarn("$progname: not saving it, you might use --save-anyway\n"); } } - finish ($newtlpdb, $pkgcount) if (!$buggy_tlpdb); + if (!$buggy_tlpdb) { + finish ($newtlpdb, $pkgcount); + } else { + # return error to the shell script, it is evaluated in cron.tl! + return 1; + } } |