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