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
f83f0304
Commit
f83f0304
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
set version
parent
1d0409a2
No related branches found
No related tags found
1 merge request
!216
set version
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_backup_one
+3
-3
3 additions, 3 deletions
check_backup_one
with
3 additions
and
3 deletions
check_backup_one
+
3
−
3
View file @
f83f0304
...
...
@@ -14,7 +14,7 @@
.
$(
dirname
$0
)
/inc_pluginfunctions
export
self_APPVERSION
=
0.2
export
self_APPVERSION
=
1.0
sInstalldir
=
/opt/imlbackup/server
sScript
=
storage_helper.sh
...
...
@@ -80,13 +80,13 @@ while [[ "$#" -gt 0 ]]; do case $1 in
esac
;
done
if
[
-z
"
$sMode
"
]
;
then
ph.abort
"ERROR: The mode was not set. Use parameter -m for it. Get help wit -h"
ph.abort
"ERROR: The mode was not set. Use parameter -m for it. Get help wit -h
.
"
fi
myscript
=
"
$sInstalldir
/
$sScript
"
if
[
!
-x
"
$myscript
"
]
;
then
ph.abort
"UNKNOWN:
$myscript
is not available / executable. Use -d to fix the installation dir. Get help wit -h"
ph.abort
"UNKNOWN:
$myscript
is not available / executable. Use -d to fix the installation dir. Get help wit -h
.
"
fi
# --- read data
...
...
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