summaryrefslogtreecommitdiff
path: root/pcr/expac-relative/0001-fix-target-processing.patch
blob: f3c682ff7674ad0ae15009c3cf04959d71f1368c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From ea25d7e51c2236e739aef2718499781dd37ef53d Mon Sep 17 00:00:00 2001
From: Dave Reisner <dreisner@archlinux.org>
Date: Tue, 25 Nov 2014 10:50:19 -0500
Subject: [PATCH] fix target processing

lack of targets is not an error.
---
 expac.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/expac.c b/expac.c
index 5a11a59..d89e072 100644
--- a/expac.c
+++ b/expac.c
@@ -848,9 +848,6 @@ int main(int argc, char *argv[])
   }
 
   targets = process_targets(argc, argv);
-  if(targets == NULL) {
-    return 1;
-  }
 
   r = expac_new(&expac, opt_config_file);
   if(r < 0) {
-- 
2.1.3