9 lines
110 B
Bash
Executable File
9 lines
110 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ ! -x "$1" ]]; then
|
|
echo "$1 does not exist or couldn't be executed."
|
|
exit 1
|
|
fi
|
|
|
|
$1
|