diff options
Diffstat (limited to 'bin/ak-following')
-rwxr-xr-x | bin/ak-following | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/ak-following b/bin/ak-following index 02ed85e..deb631d 100755 --- a/bin/ak-following +++ b/bin/ak-following @@ -1,10 +1,14 @@ #!/bin/bash +PROGRAM="$(basename $0)" +logit(){ + ak-logthis "$PROGRAM" "$1" "$2" +} FOLLOWING="$HOME/.arching-kaos/following" if [ -f $FOLLOWING ] then cat $FOLLOWING else - ak-logthis "No following file, creating" + logit "INFO" "No following file, creating" touch $FOLLOWING echo "None found" fi |