aboutsummaryrefslogtreecommitdiff
path: root/src/create_pkg.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-26 07:25:38 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-26 07:25:38 +0000
commitfd9f38ea42b04d23203c1d407d8c6f19d673264b (patch)
tree5fd137e3b722ac2a13ab49b0b54dab3c3f8fa1fd /src/create_pkg.c
parent13ba408ef3316958b7cf9d5c1cdd3c222b1425ad (diff)
fixed false positives on lua return values
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;
}