Prevent fork. Limits to one PID
This commit is contained in:
parent
05d692d936
commit
8dcbcb5fe5
|
@ -17,7 +17,7 @@ unless ($pid) {
|
||||||
open STDOUT, '>>/dev/null';
|
open STDOUT, '>>/dev/null';
|
||||||
open STDERR, '>>/dev/null';
|
open STDERR, '>>/dev/null';
|
||||||
|
|
||||||
`gammastep -l $lat_lon -b 0.7:0.3`;
|
exec "exec gammastep -l $lat_lon -b 0.7:0.3";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub fetch_lat_lon
|
sub fetch_lat_lon
|
||||||
|
|
Loading…
Reference in New Issue