1
0
mirror of http://git.dtluna.net/tomo/go-coreutils.git synced 2025-01-07 06:39:54 +00:00

Add false

This commit is contained in:
dtluna 2019-03-26 12:09:44 +03:00
parent a7972ed6c9
commit 62b8613877
2 changed files with 12 additions and 0 deletions

View File

@ -9,3 +9,4 @@ with some additions
Implemeted utilities:
* `true`
* `false`

11
false/false.go Normal file
View File

@ -0,0 +1,11 @@
// false exits with an exit code of 1
package main
import (
"os"
)
func main() {
os.Exit(1)
}