typo
This commit is contained in:
parent
f760df95c7
commit
475a4b3919
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ sub run {
|
||||||
# If we have an active shared cronfile, we should also have an old shared
|
# If we have an active shared cronfile, we should also have an old shared
|
||||||
# See if I am the one
|
# See if I am the one
|
||||||
if (is_active(get_nodes) ){
|
if (is_active(get_nodes) ){
|
||||||
if(compare($cronfile, $passivesharedcronfile)) == 0) {
|
if(compare($cronfile, $passivesharedcronfile) == 0) {
|
||||||
print "There has been a failover, switching to active cronfile\n";
|
print "There has been a failover, switching to active cronfile\n";
|
||||||
copy($activesharedcronfile, $cronfile);
|
copy($activesharedcronfile, $cronfile);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue