mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
code cleanup
This commit is contained in:
parent
9f3d1de209
commit
b914bd25ae
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ usage()
|
|||
echo " for each additional mountpoint eg. /boot or /home."
|
||||
echo ""
|
||||
echo "usage: ${APPNAME} <oldmountpoint> <newmountpoint>"
|
||||
exit $1
|
||||
exit "$1"
|
||||
}
|
||||
|
||||
##################################################
|
||||
|
@ -26,4 +26,4 @@ fi
|
|||
NEWMOUNTPOINT="${2}"
|
||||
OLDMOUNTPOINT="${1}"
|
||||
|
||||
tar -C $OLDMOUNTPOINT -clpf - . | tar -C $NEWMOUNTPOINT -vxlspf -
|
||||
tar -C "$OLDMOUNTPOINT" -clpf - . | tar -C "$NEWMOUNTPOINT" -vxlspf -
|
||||
|
|
Loading…
Reference in a new issue