5 lines
96 B
Bash
Executable file
5 lines
96 B
Bash
Executable file
#! /bin/sh
|
|
case $? in
|
|
0) echo "ok - $1 succeeded";;
|
|
*) echo "not ok - $1 failed";;
|
|
esac
|