Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
datasid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simmctic
datasid
Commits
fb49e670
Commit
fb49e670
authored
11 years ago
by
Edileuton Henrique de Oliveira
Browse files
Options
Downloads
Patches
Plain Diff
agent: Remove --quiet option in the md5 check
Signed-off-by:
Edileuton Henrique de Oliveira
<
eho09@c3sl.ufpr.br
>
parent
05fc216a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
agent/bin/datasid-check.sh
+1
-1
1 addition, 1 deletion
agent/bin/datasid-check.sh
agent/bootstrap/update
+1
-1
1 addition, 1 deletion
agent/bootstrap/update
with
2 additions
and
2 deletions
agent/bin/datasid-check.sh
+
1
−
1
View file @
fb49e670
...
...
@@ -62,7 +62,7 @@ if ! test -f ".md5sum"; then
restore_backup
fi
if
!
md5sum
--quiet
--check
".md5sum"
;
then
if
!
md5sum
--check
".md5sum"
>
/dev/null 2>&1
;
then
date
+
"%F %T - WARNING: Corrupted files detected. Restoring backup."
restore_backup
fi
...
...
This diff is collapsed.
Click to expand it.
agent/bootstrap/update
+
1
−
1
View file @
fb49e670
...
...
@@ -77,7 +77,7 @@ fi
rm
-f
"
${
PKG_FILE
}
"
# Check if the new files are OK
if
!
md5sum
--quiet
--check
.md5sum
;
then
if
!
md5sum
--check
.md5sum
>
/dev/null 2>&1
;
then
printf
"WARNING: Arquivos extraidos corrompidos, restaurando backup...
\n
"
# Check if backup exists
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment