Fix typos

This commit is contained in:
Manuel Thalmann 2024-12-04 16:46:57 +01:00
parent 5b7698636a
commit f8668fe33b
2 changed files with 3 additions and 3 deletions

View file

@ -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' \

View file

@ -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