aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-03-12 21:08:49 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-03-12 21:08:49 +0200
commite76d8e000bfa184d9ae79e620ffeec7cefab7fd8 (patch)
tree44a2bf50c595f0e0f7b616d7a362d020a3758a54
parent43e8d1ad415cd8af7f56f0346097dd2882e23628 (diff)
downloadwydawca-e76d8e000bfa184d9ae79e620ffeec7cefab7fd8.tar.gz
wydawca-e76d8e000bfa184d9ae79e620ffeec7cefab7fd8.tar.bz2
Bugfix
* src/triplet.c (check_triplet_state): Verify the directive file only if it already exists.
-rw-r--r--src/triplet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/triplet.c b/src/triplet.c
index 24ab611..0ddf997 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -129,7 +129,7 @@ check_triplet_state (struct file_triplet *trp)
{
- if (verify_directive_file (trp, trp->spool))
- return triplet_bad;
-
if (trp->file[file_directive].name)
{
+ if (verify_directive_file (trp, trp->spool))
+ return triplet_bad;
+
if (trp->file[file_dist].name == 0

Return to:

Send suggestions and report system problems to the System administrator.