explorer: use xmalloc instead of malloc
[git-cheetah/kirill.git] / nautilus / kill-nautilus.sh
blob548d74068dad794d2b39ce6cd543ab068d8ad957
1 #!/bin/sh
3 echo "Ok to kill nautilus? (Ctrl-C to abort)"
4 read input
6 pid=$(ps ax | grep nautilus |
7 grep -v grep |
8 grep -v kill-nautilus.sh |
9 awk '{ print $1 }')
10 if [ $pid ]; then
11 kill $pid
14 echo "and start again?"
15 read input
17 nautilus &