gluon-geolocator: geolocator.sh rm unneeded ;
This commit is contained in:
parent
46cbd16a6e
commit
41d936a539
@ -8,7 +8,7 @@ PID_PART="/var/run/geolocator.pid"
|
|||||||
TIME_STAMP="/tmp/geolocator_timestamp"
|
TIME_STAMP="/tmp/geolocator_timestamp"
|
||||||
|
|
||||||
if [ -f $PID_PART ]; then
|
if [ -f $PID_PART ]; then
|
||||||
echo "The geolocator is still running"; exit 0;
|
echo "The geolocator is still running"; exit 0
|
||||||
else touch $PID_PART; fi
|
else touch $PID_PART; fi
|
||||||
|
|
||||||
Clean_pid() { [ -f $PID_PART ] && rm $PID_PART; exit 0; }
|
Clean_pid() { [ -f $PID_PART ] && rm $PID_PART; exit 0; }
|
||||||
|
Loading…
Reference in New Issue
Block a user