aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2021-09-04 20:20:47 +0300
committerDylan Araps <dylan.araps@gmail.com>2021-09-04 20:20:47 +0300
commit9880e5a89977aae214da3c956da0626704cb3907 (patch)
tree674afd73db13d098689be0713a2724f67c9f2c1f
parent5172f13e99df1fd90d99b93b21a0459ef038e717 (diff)
downloadpfetch-9880e5a89977aae214da3c956da0626704cb3907.tar.gz
fix #128
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 6584b41..1d306d1 100755
--- a/pfetch
+++ b/pfetch
@@ -1823,7 +1823,7 @@ EOF
# Allow the user to execute their own script and modify or
# extend pfetch's behavior.
# shellcheck source=/dev/null
- . "${PF_SOURCE:-/dev/null}" ||:
+ ! [ -x "$PF_SOURCE" ] || . "$PF_SOURCE"
# Ensure that the 'TMPDIR' is writable as heredocs use it and
# fail without the write permission. This was found to be the