diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-02 05:45:20 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-02 05:45:20 +0200 |
commit | 82934d0325e61669c877122b721f5fe72a25bea5 (patch) | |
tree | 99a885ea26dbc831ce91a70f5023bfc613e266c6 | |
parent | e3a1c5e5c654c43f02d411b4805699d6a1d652fc (diff) | |
download | arching-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-x | bin/ak-sblock-show | 2 |
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 |