mirror of
https://github.com/remko/waforth
synced 2024-12-25 09:59:07 +01:00
parent
7ccc11dd41
commit
20babd5271
2 changed files with 2 additions and 2 deletions
1
.github/workflows/build-master.yml
vendored
1
.github/workflows/build-master.yml
vendored
|
@ -37,7 +37,6 @@ jobs:
|
|||
- run: |
|
||||
mkdir pages
|
||||
tar xf artifact.tar -C pages
|
||||
- run: ls -R pages
|
||||
- name: aws s3 sync
|
||||
run: |
|
||||
aws configure set region eu-central-1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <filesystem>
|
||||
|
@ -90,7 +91,7 @@ int runChild(const std::vector<std::string> &cmd) {
|
|||
auto pid = fork();
|
||||
if (pid == 0) {
|
||||
if (execvp(argsp[0], (char **)&argsp[0]) == -1) {
|
||||
std::cerr << "execvp() error" << std::endl;
|
||||
std::cerr << "error executing '" << cmd[0] << ": " << std::strerror(errno) << " (" << errno << ")" << std::endl;
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue