summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-06-09 05:00:39 +0000
committerNorbert Preining <preining@logic.at>2010-06-09 05:00:39 +0000
commit39ef88a957565657e512ce9160b4292493a6699a (patch)
tree6145d56535a2c1f0d9f4083aa1075ef6ab0234f0 /Master
parenta887c3bf563d618ad164938a9e47e237f8f10ad5 (diff)
tl-update-tlpdb now returns 1 to the shell if the update did not work
git-svn-id: svn://tug.org/texlive/trunk@18839 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlpdb7
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;
+ }
}