aboutsummaryrefslogtreecommitdiff
path: root/src/create_pkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/create_pkg.c')
-rw-r--r--src/create_pkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/create_pkg.c b/src/create_pkg.c
index 0137dd7..cb35ad0 100644
--- a/src/create_pkg.c
+++ b/src/create_pkg.c
@@ -87,7 +87,7 @@ Pkg create_pkg(const char *arg) {
bool is_in_repos = false;
for (size_t i = 0; i < cached_repos_count; i++) {
- if (strcmp(arg, cached_repos[i].source_key) == 0) {
+ if (strcmp(new_arg, cached_repos[i].source_key) == 0) {
is_in_repos = true;
break;
}