Fix typos
This commit is contained in:
parent
ba371f6417
commit
d2522d42a3
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ RUN printf "%s\n" \
|
||||||
" while true" \
|
" while true" \
|
||||||
" do" \
|
" do" \
|
||||||
' echo "Refreshing NAT-PMP port forwarding…"' \
|
' echo "Refreshing NAT-PMP port forwarding…"' \
|
||||||
' natpmp -a 0 0 udp "$NATPMP_TIMEOUT"' \
|
' natpmpc -a 0 0 udp "$NATPMP_TIMEOUT"' \
|
||||||
' natpmpc -a 0 0 tcp "$NATPMP_TIMEOUT"' \
|
' natpmpc -a 0 0 tcp "$NATPMP_TIMEOUT"' \
|
||||||
' echo "NAT-PMP port forwarding has been refreshed!"' \
|
' echo "NAT-PMP port forwarding has been refreshed!"' \
|
||||||
' sleep "$NATPMP_INTERVAL"' \
|
' sleep "$NATPMP_INTERVAL"' \
|
||||||
|
@ -101,7 +101,7 @@ RUN printf "%s\n" \
|
||||||
"} &" \
|
"} &" \
|
||||||
"set -m" \
|
"set -m" \
|
||||||
'[ ${MAX_UPTIME:-0} -gt 0 ] && {' \
|
'[ ${MAX_UPTIME:-0} -gt 0 ] && {' \
|
||||||
' soudo -iu '"${USERNAME}"' rtorrent -o network.port_range.set=$port-$port,system.daemon.set=true $@ &' \
|
' sudo -iu '"${USERNAME}"' rtorrent -o network.port_range.set=$port-$port,system.daemon.set=true $@ &' \
|
||||||
' pid=$!' \
|
' pid=$!' \
|
||||||
' sleep "$MAX_UPTIME"' \
|
' sleep "$MAX_UPTIME"' \
|
||||||
' pkill -9 $pid' \
|
' pkill -9 $pid' \
|
||||||
|
|
|
@ -70,7 +70,7 @@ function getArchivePath
|
||||||
argparse -i "u/user=" "n/name=" -- $argv
|
argparse -i "u/user=" "n/name=" -- $argv
|
||||||
set -l path "$VALHALLA_BACKUP_DIR"
|
set -l path "$VALHALLA_BACKUP_DIR"
|
||||||
|
|
||||||
if [ -b "$_flag_user" ]
|
if [ -n "$_flag_user" ]
|
||||||
set -a path Users "$_flag_user"
|
set -a path Users "$_flag_user"
|
||||||
else
|
else
|
||||||
set -a path System
|
set -a path System
|
||||||
|
|
Loading…
Reference in a new issue