projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gnt-debug: Extend job queue tests
[ganeti-local]
/
scripts
/
gnt-job
diff --git
a/scripts/gnt-job
b/scripts/gnt-job
index
a174200
..
2e71bae
100755
(executable)
--- a/
scripts/gnt-job
+++ b/
scripts/gnt-job
@@
-134,10
+134,13
@@
def ArchiveJobs(opts, args):
"""
client = GetClient()
+ rcode = 0
for job_id in args:
- client.ArchiveJob(job_id)
+ if not client.ArchiveJob(job_id):
+ ToStderr("Failed to archive job with ID '%s'", job_id)
+ rcode = 1
- return 0
+ return rcode
def AutoArchiveJobs(opts, args):