Browse Source

missing quotes

pull/1946/merge
Daniel Gibbs 7 years ago
parent
commit
16f46a0cb3
  1. 2
      lgsm/functions/info_distro.sh

2
lgsm/functions/info_distro.sh

@ -155,7 +155,7 @@ if [ -d "${backupdir}" ]; then
backupcount=0
# If there are backups in backup dir.
if [ $(find "${backupdir}" -name "*.tar.gz" | wc -l) -ne "0" ]; then
if [ "$(find "${backupdir}" -name "*.tar.gz" | wc -l)" -ne "0" ]; then
# number of backups.
backupcount=$(find "${backupdir}"/*.tar.gz | wc -l)
# most recent backup.

Loading…
Cancel
Save