Fix static analysis failures

This commit is contained in:
Bob Mottram 2018-03-02 22:39:47 +00:00
parent 52188a30a5
commit 651809c32c
1 changed files with 2 additions and 1 deletions

View File

@ -1054,7 +1054,7 @@ function create_keydrive_master {
function create_keydrive_fragment {
select_user
if [ ! $SELECTED_USERNAME ]; then
if [ ! "$SELECTED_USERNAME" ]; then
return
fi
dialog --title $"USB Fragment Keydrive" \
@ -1415,6 +1415,7 @@ function format_drive {
function remove_backups {
detect_usb_drive
# shellcheck disable=SC2154
dialog --title $"Remove backups from a USB drive $USB_DRIVE" \
--backtitle $"Freedombone Control Panel" \
--defaultno \