Skip to content

Commit

Permalink
Only use spark when it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
akatrevorjay committed Jun 25, 2015
1 parent ced635b commit 5e01454
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bashism.d/spark.sh
@@ -1,6 +1,5 @@
#!/bin/bash

set +e
. "${__BASHISM[path]}/lib/spark/spark"
[[ -e "${__BASHISM[path]}/lib/spark/spark" ]] && . "${__BASHISM[path]}/lib/spark/spark"
set -e

0 comments on commit 5e01454

Please sign in to comment.