aboutsummaryrefslogtreecommitdiff
path: root/awesome/autorun.sh
diff options
context:
space:
mode:
authorKyle Javier2021-10-02 03:01:32 -0400
committerKyle Javier2021-10-02 03:01:32 -0400
commit7dc8eae01534f146dad9c67ce821eec768c11690 (patch)
tree9eded3ff55f8a9c94cacca1ce058bb251aa07b35 /awesome/autorun.sh
parent24faf59f1756939aa56723ba0e2cb604648ff45c (diff)
syntax correction for POSIX-compliance
Diffstat (limited to 'awesome/autorun.sh')
-rwxr-xr-xawesome/autorun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/awesome/autorun.sh b/awesome/autorun.sh
index b44ff96..ca7de50 100755
--- a/awesome/autorun.sh
+++ b/awesome/autorun.sh
@@ -1,9 +1,9 @@
#!/bin/sh
run () {
- if ! pgrep -f $1 ;
+ if ! pgrep -f "$1" ;
then
- $@&
+ "$@"&
fi
}