Compare commits
No commits in common. "d60401a18122dd0d2f883fabd4ad7d9d94e1432b" and "d58374232a41bf3b7d321550b50fb1cff9ff7d36" have entirely different histories.
d60401a181
...
d58374232a
3
.github/workflows/why2-project.yml
vendored
3
.github/workflows/why2-project.yml
vendored
@ -50,9 +50,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
chmod +x ${{ matrix.configure }}
|
chmod +x ${{ matrix.configure }}
|
||||||
|
|
||||||
- name: Install GDB
|
|
||||||
run: sudo apt-get install gdb -y
|
|
||||||
|
|
||||||
- name: Preparation
|
- name: Preparation
|
||||||
run: sudo ./${{ matrix.configure }}
|
run: sudo ./${{ matrix.configure }}
|
||||||
|
|
||||||
|
@ -91,14 +91,7 @@ enum WHY2_EXIT_CODES why2_check_version(void)
|
|||||||
curl_easy_setopt(curl, CURLOPT_TIMEOUT, WHY2_CURL_TIMEOUT);
|
curl_easy_setopt(curl, CURLOPT_TIMEOUT, WHY2_CURL_TIMEOUT);
|
||||||
|
|
||||||
//DOWNLOAD versions.json
|
//DOWNLOAD versions.json
|
||||||
CURLcode curl_res = curl_easy_perform(curl);
|
curl_easy_perform(curl);
|
||||||
if (curl_res != CURLE_OK && !why2_get_flags().no_output) //ERR
|
|
||||||
{
|
|
||||||
fprintf(stderr, "%sDownloading version failed!\n(%s)\n\nExiting...\n", WHY2_CLEAR_SCREEN, curl_easy_strerror(curl_res));
|
|
||||||
|
|
||||||
why2_clean_memory("core_version_check");
|
|
||||||
return WHY2_DOWNLOAD_FAILED;
|
|
||||||
}
|
|
||||||
|
|
||||||
//CLEANUP
|
//CLEANUP
|
||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user