Commit f5aad4cb authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'exit-code-bug-fix' into 'master'

Exit code bug fix

See merge request !39
parents 213e7472 b9b7d1e2
Pipeline #6626 passed with stages
in 43 seconds
......@@ -2006,7 +2006,7 @@ sub lvmCreateSnapshot
$globalCreatedLVSnapshots{$snapshotDest}->{'lockfile'} = $lockFile;
return $res;
return $res >> 8;
}
......@@ -2035,7 +2035,7 @@ sub lvmDestroyLogicalVolume
return $data[1];
}
return $res;
return $res >> 8;
}
......@@ -2129,7 +2129,7 @@ sub blockCreatePartitions
# Store the order in which we snapshotted this...
push(@globalCreatedPartitions,$device);
return $res;
return $res >> 8;
}
......@@ -2152,7 +2152,7 @@ sub blockDestroyPartitions
return $data[1];
}
return $res;
return $res >> 8;
}
......@@ -2235,7 +2235,7 @@ sub fsMount
# Store the order in which we snapshotted this...
push(@globalMountedFilesystems,$mountPoint);
return $res;
return $res >> 8;
}
......@@ -2286,7 +2286,7 @@ sub fsBindMount
return $data[1];
}
return $res;
return $res >> 8;
}
......@@ -2308,7 +2308,7 @@ sub fsUnmount
return $data[1];
}
return $res;
return $res >> 8;
}
......@@ -2518,7 +2518,7 @@ sub rsync
printLog(LOG_NOTICE,"RSYNC: - STDOUT log below\n- - - - - - - - - -\n%s\n- - - - - - - - - -\n",$data[0]);
}
return $res;
return $res >> 8;
}
......@@ -2618,7 +2618,7 @@ sub dbackup
printLog(LOG_ERROR,"DBACKUP: - STDOUT log below\n- - - - - - - - - -\n%s\n- - - - - - - - - -\n",$data[0]);
}
return $res;
return $res >> 8;
}
......@@ -2714,7 +2714,7 @@ sub zabbixReport
}
}
return $res;
return $res >> 8;
}
......@@ -2744,7 +2744,7 @@ sub emailReport
printLog(LOG_ERROR,"EMAIL: - Failed to send email: %s",$data[1]);
}
return $res;
return $res >> 8;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment