12 lines
113 B
Bash
12 lines
113 B
Bash
|
test()
|
||
|
{
|
||
|
if $@; then
|
||
|
test false
|
||
|
else
|
||
|
echo end
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
test true
|
||
|
echo "did this work ?"
|