We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea34896 + 0c23d31 commit f224972Copy full SHA for f224972
exec-cronjob/kubectl-exec_cronjob.sh
@@ -2,7 +2,7 @@
2
# Run a CronJob immediately as Job by extracting the Job spec and creating a
3
# Job instance thereof.
4
5
-set -ex
+set -e
6
7
function usage() {
8
echo "Run a CronJob immediately as Job by extracting the Job spec and"
@@ -18,7 +18,7 @@ function usage() {
18
exit 0
19
}
20
21
-if [ $# -lt 1 ]
+if [[ $# -lt 1 ]] || [[ "$1" == "-"* ]]
22
then
23
usage
24
fi
prune-unused/kubectl-prune_unused.sh
@@ -21,7 +21,7 @@ function usage() {
-if [ "$1" == "" ]
25
26
27
0 commit comments