Skip to content

Commit 3f2e002

Browse files
committed
* [bug] linux mktemp error
1 parent f7783fa commit 3f2e002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/killall.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
pids=`mktemp killredis`
3+
pids=`mktemp killredis.XXXXX`
44

55
#ps ax|grep redis-server|tr -s " "|cut -d " " -f 1 > $pids
66
ps ax|grep redis-server|awk '{print "kill -9 ", $1}' > $pids

0 commit comments

Comments
 (0)