summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 370561d)
raw | patch | inline | side by side (parent: 370561d)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Sat, 7 Jul 2007 11:40:29 +0000 (11:40 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Sat, 7 Jul 2007 11:40:29 +0000 (11:40 +0000) |
Fixed -V output for check_log and check_oracle
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1749 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1749 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_log.sh | patch | blob | history | |
plugins-scripts/check_oracle.sh | patch | blob | history | |
plugins-scripts/utils.sh.in | patch | blob | history |
index 20c55f4ed029bef1a50d7a2316b26cd844527a73..6f6e68c21994c8c26fcaf51860bd0c71070ad5cf 100755 (executable)
exit $STATE_OK
;;
--version)
- print_revision $PROGNAME $VERSION
+ print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
-V)
- print_revision $PROGNAME $VERSION
+ print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
--filename)
index 56962e37ccc0093b29d0aea68eb45e63fde51145..0a8f1521ad604354d67144a765c553881286bf88 100755 (executable)
exit $STATE_OK
;;
--version)
- print_revision $PLUGIN $REVISION
+ print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
-V)
- print_revision $PLUGIN $REVISION
+ print_revision $PROGNAME $REVISION
exit $STATE_OK
;;
esac
index 7750716be4f26944f487ca0eb689e94a1195b58c..b30b908395921dea466916293fb7f7e251e94521 100644 (file)
fi
print_revision() {
- echo "$1 (@PACKAGE@ @VERSION@) $2"
+ echo "$1 v$2 (@PACKAGE@ @VERSION@)"
$ECHO "@WARRANTY@" | sed -e 's/\n/ /g'
}