diff --git a/dspace/CHANGES b/dspace/CHANGES index 48d064de03..c9b21eea2d 100644 --- a/dspace/CHANGES +++ b/dspace/CHANGES @@ -39,6 +39,9 @@ - SF Patch #1641678 [dspace]/bin scripts for import and export - SF Patch #1642336 Restrict domains of self-registered users +(Monika Mevenkamp) +- SF Patch #1654469 stat scripts always return exit code 1 + (K. Nakagami) - SF Patch #1591969 for SF bug #1583372 DCDate.toString returns invalid string - SF Patch #1621889 for SF Bug #1606789 When collection is deleted, mapped item remains in community diff --git a/dspace/bin/stat-general b/dspace/bin/stat-general index c7d334bb4c..1cc15cc559 100644 --- a/dspace/bin/stat-general +++ b/dspace/bin/stat-general @@ -81,6 +81,6 @@ $out_directory = "/dspace/log/"; $general = "$dsrun org.dspace.app.statistics.LogAnalyser -out $out_directory$out_prefix$this_year-$this_month-$day$out_suffix"; -system($general); +$status = system($general); -exit(1); \ No newline at end of file +exit($status); diff --git a/dspace/bin/stat-monthly b/dspace/bin/stat-monthly index 3958c8c5ec..bb77f9ba59 100644 --- a/dspace/bin/stat-monthly +++ b/dspace/bin/stat-monthly @@ -120,6 +120,6 @@ $out = $out_directory . $out_prefix . $this_year . "-" . $this_month . $out_suff # The command to generate the report $execute = "$dsrun org.dspace.app.statistics.LogAnalyser -start $start -end $end -out $out"; -system($execute); +$status = system($general); -exit(1); \ No newline at end of file +exit($status); diff --git a/dspace/bin/stat-report-general b/dspace/bin/stat-report-general index 6fb8780ef2..72b0075c5d 100644 --- a/dspace/bin/stat-report-general +++ b/dspace/bin/stat-report-general @@ -88,6 +88,6 @@ $out = $out_directory . $out_prefix . $this_year . "-" . $this_month . "-" . $da $general = "$dsrun org.dspace.app.statistics.ReportGenerator -format html -in $in -out $out"; -system($general); +$status = system($general); -exit(1); \ No newline at end of file +exit($status); diff --git a/dspace/bin/stat-report-monthly b/dspace/bin/stat-report-monthly index 570a0820ec..8f69cf9ada 100644 --- a/dspace/bin/stat-report-monthly +++ b/dspace/bin/stat-report-monthly @@ -100,6 +100,6 @@ $out = $out_directory . $out_prefix . $this_year . "-" . $this_month . $out_suff # The command to generate the report $execute = "$dsrun org.dspace.app.statistics.ReportGenerator -format html -in $in -out $out"; -system($execute); +$status = system($general); -exit(1); \ No newline at end of file +exit($status);