Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
IML Open Source
icinga-checks
Commits
8240fa97
Commit
8240fa97
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Plain Diff
Merge branch '6907_backup_server' into 'master'
remove ansi colors See merge request
!219
parents
92ec9fbe
b93e0bde
No related branches found
No related tags found
1 merge request
!219
remove ansi colors
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_iml_backup_server
+2
-2
2 additions, 2 deletions
check_iml_backup_server
with
2 additions
and
2 deletions
check_iml_backup_server
+
2
−
2
View file @
8240fa97
...
...
@@ -89,8 +89,8 @@ if [ ! -x "$myscript" ]; then
ph.abort
"UNKNOWN:
$myscript
is not available / executable. Use -d to fix the installation dir. Get help with -h."
fi
# --- read data
data
=
$(
"
$myscript
"
"
$sMode
"
)
# --- read data
+ remove ansii colors
data
=
$(
"
$myscript
"
"
$sMode
"
|
sed
's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'
)
case
"
$sMode
"
in
"backupstatus"
)
...
...
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