projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dce879
)
fix for the psfind bug.
author
Chris Koeritz
<fred@gruntose.com>
Sun, 9 Mar 2014 15:12:47 +0000
(11:12 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 9 Mar 2014 15:12:47 +0000
(11:12 -0400)
scripts/core/functions.sh
patch
|
blob
|
history
diff --git
a/scripts/core/functions.sh
b/scripts/core/functions.sh
index c72a80aa4927b6a49f662dd37ad63bf974ec2796..16c4473931071d695e23ed0952345fb9e2b5d782 100644
(file)
--- a/
scripts/core/functions.sh
+++ b/
scripts/core/functions.sh
@@
-122,11
+122,10
@@
if [ -z "$skip_all" ]; then
done
fi
if [ ${#PIDS_SOUGHT[*]} -ne 0 ]; then
- local
TMPFUD=$(mktemp $TMP/junkpids.XXXXXX
)
- printf -- '%s\n' ${PIDS_SOUGHT[@]} | sort | uniq >$TMPFUD
- PIDS_SOUGHT=$
(cat $TMPFUD)
+ local
PIDS_SOUGHT2=$(printf -- '%s\n' ${PIDS_SOUGHT[@]} | sort | uniq
)
+ PIDS_SOUGHT=()
+ PIDS_SOUGHT=$
{PIDS_SOUGHT2[*]}
echo ${PIDS_SOUGHT[*]}
-#rm $TMPFUD
fi
/bin/rm $PID_DUMP
}