fix errors.

This commit is contained in:
Jiacai Wang 2021-08-04 12:52:07 +08:00
parent 7f1a518c0c
commit 35479e1032
2 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,6 @@ steps:
- name: test
image: gcc:latest
commands:
- pwd && ls
- ls -l
- gcc hello.c -o hello
- ./hello drone!
- echo program exit with code $?

View File

@ -2,5 +2,5 @@
int main(int argc, char* argv[])
{
printf("hello, %s\n", argv[1]);
return -1;
return 0:
}