11 lines
73 B
Bash
11 lines
73 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo $1
|
||
|
eval $1
|
||
|
|
||
|
if [ $? -eq 0 ]; then
|
||
|
exit 0;
|
||
|
fi
|
||
|
exit 1;
|
||
|
|