Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CI: Change conclusion getter
[releng/global-jjb.git]
/
shell
/
sudo-logs.sh
diff --git
a/shell/sudo-logs.sh
b/shell/sudo-logs.sh
index
257ee23
..
ccc7fb3
100755
(executable)
--- a/
shell/sudo-logs.sh
+++ b/
shell/sudo-logs.sh
@@
-13,8
+13,7
@@
echo "---> sudo-logs.sh"
set -eu -o pipefail -o noglob
# Copy/Generate 'sudo' log and copy to archive directory
set -eu -o pipefail -o noglob
# Copy/Generate 'sudo' log and copy to archive directory
-function copy_log()
-{
+copy_log () {
case $os in
fedora|centos|redhat|ubuntu|debian)
if ! sudo cp "$sudo_log" /tmp; then
case $os in
fedora|centos|redhat|ubuntu|debian)
if ! sudo cp "$sudo_log" /tmp; then