summaryrefslogtreecommitdiffstats
path: root/cron-jobs/integrity-check
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-12-19 14:40:07 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-12-19 14:40:07 +0100
commit5c7220a4aa370d1f726eb27d99d8f9294646433d (patch)
tree699c4f1643fa94c26eb75c683ca995f890108d8d /cron-jobs/integrity-check
parent2b7bb0c6b7aa4f7a43c82db1cf9a18d27600c62e (diff)
downloaddbscripts-5c7220a4aa370d1f726eb27d99d8f9294646433d.tar.gz
dbscripts-5c7220a4aa370d1f726eb27d99d8f9294646433d.tar.xz
Avoid calls to basename
Diffstat (limited to 'cron-jobs/integrity-check')
-rwxr-xr-xcron-jobs/integrity-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check
index d4f9694..044f093 100755
--- a/cron-jobs/integrity-check
+++ b/cron-jobs/integrity-check
@@ -8,7 +8,7 @@ dirname="$(dirname $0)"
script_lock
if [ $# -ne 1 ]; then
- die "usage: $(basename $0) <mailto>"
+ die "usage: ${0##*/} <mailto>"
fi
mailto=$1