Fix typos
This commit is contained in:
parent
5b7698636a
commit
f8668fe33b
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ RUN printf "%s\n" \
|
|||
" while true" \
|
||||
" do" \
|
||||
' 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"' \
|
||||
' echo "NAT-PMP port forwarding has been refreshed!"' \
|
||||
' sleep "$NATPMP_INTERVAL"' \
|
||||
|
@ -101,7 +101,7 @@ RUN printf "%s\n" \
|
|||
"} &" \
|
||||
"set -m" \
|
||||
'[ ${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=$!' \
|
||||
' sleep "$MAX_UPTIME"' \
|
||||
' pkill -9 $pid' \
|
||||
|
|
|
@ -70,7 +70,7 @@ function getArchivePath
|
|||
argparse -i "u/user=" "n/name=" -- $argv
|
||||
set -l path "$VALHALLA_BACKUP_DIR"
|
||||
|
||||
if [ -b "$_flag_user" ]
|
||||
if [ -n "$_flag_user" ]
|
||||
set -a path Users "$_flag_user"
|
||||
else
|
||||
set -a path System
|
||||
|
|
Loading…
Reference in a new issue