Skip to content

Commit 560aa64

Browse files
committed
for windows, try single quotes instead of double since the command in packages.cf uses quotes already
1 parent 20f5159 commit 560aa64

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cf-agent/verify_packages.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -2741,9 +2741,9 @@ const size_t name_len = strlen(pi->name);
27412741
}
27422742
else
27432743
{
2744-
strcat(offset, "\"");
2744+
strcat(offset, "'");
27452745
strcat(offset+1, pi->name);
2746-
strcat(offset+1+name_len, "\"");
2746+
strcat(offset+1+name_len, "'");
27472747
}
27482748

27492749
PromiseResult result = PROMISE_RESULT_NOOP;
@@ -2802,9 +2802,9 @@ const size_t name_len = strlen(pi->name);
28022802
}
28032803
else
28042804
{
2805-
strcpy(offset, "\"");
2805+
strcpy(offset, "'");
28062806
strcpy(offset+1, pi->name);
2807-
strcpy(offset+1+name_len, "\"");
2807+
strcpy(offset+1+name_len, "'");
28082808
}
28092809

28102810
strcat(command_string, " ");

0 commit comments

Comments
 (0)