mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
code cleanup
This commit is contained in:
parent
8c8784052f
commit
0ed2457b3b
1 changed files with 2 additions and 2 deletions
|
@ -9,12 +9,12 @@ usage()
|
|||
{
|
||||
echo "Restoring an USB device to its original state (FAT32):"
|
||||
echo "usage: ${APPNAME} <device>"
|
||||
exit $1
|
||||
exit "$1"
|
||||
}
|
||||
|
||||
##################################################
|
||||
|
||||
[[ -z "${1}" ]] && usage
|
||||
[[ -z "${1}" ]] && usage "$@"
|
||||
|
||||
### check for root
|
||||
if ! [[ ${UID} -eq 0 ]]; then
|
||||
|
|
Loading…
Reference in a new issue