summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2014-03-03 07:12:41 +0000
committerNorbert Preining <preining@logic.at>2014-03-03 07:12:41 +0000
commit8a4e73b3b2f4ffef7bf105234e9b023f30cf2816 (patch)
treee36b757a3b1043fcb46a67c75f6e7585e0812192 /Master/texmf-dist/scripts
parenta36bef397ca1ac44e0195c99498430df87c60302 (diff)
return error code when wrong rev is given on restore
suggestion and patch by Scott Kostyshak on ml 2014-03-03 git-svn-id: svn://tug.org/texlive/trunk@33085 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 696cc400cf3..85f2bc4fd74 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -1841,6 +1841,7 @@ sub action_restore {
}
} else {
print "revision $rev for $pkg is not present in $opts{'backupdir'}\n";
+ finish(1);
}
}