src/usr/bin/url-shortener aktualisiert
no shifting - reading
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
#!/bin/bash
|
||||
. /etc/url-shortener/conf.sh
|
||||
action=$1
|
||||
shift
|
||||
hostname=$1
|
||||
shift
|
||||
read -r action hostname HASH <<< "${@}"
|
||||
base=${URL_SHORTENER_CACHE_BASE}/$hostname
|
||||
HASH=$1
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
Reference in New Issue
Block a user