aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-02 05:45:20 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-02 05:45:20 +0200
commit82934d0325e61669c877122b721f5fe72a25bea5 (patch)
tree99a885ea26dbc831ce91a70f5023bfc613e266c6
parente3a1c5e5c654c43f02d411b4805699d6a1d652fc (diff)
downloadarching-kaos-tools-82934d0325e61669c877122b721f5fe72a25bea5.tar.gz
arching-kaos-tools-82934d0325e61669c877122b721f5fe72a25bea5.tar.bz2
arching-kaos-tools-82934d0325e61669c877122b721f5fe72a25bea5.zip
PROGRAM from script name instead of hardcoded string
-rwxr-xr-xbin/ak-sblock-show2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-sblock-show b/bin/ak-sblock-show
index b4001df..0a92c54 100755
--- a/bin/ak-sblock-show
+++ b/bin/ak-sblock-show
@@ -1,5 +1,5 @@
#!/bin/bash
-PROGRAM="show_sblock"
+PROGRAM="$(basename $0)"
if [ ! -z $1 ]
then