Skip to content
Snippets Groups Projects
Commit 49bfd02b authored by intrigeri's avatar intrigeri
Browse files

reportspace: skip non-directories and places that don't exist on the local...

reportspace: skip non-directories and places that don't exist on the local filesystem (Closes: #536049)
parent 172b0e33
Branches
Tags
No related merge requests found
...@@ -7,6 +7,8 @@ version 0.9.7 -- UNRELEASED ...@@ -7,6 +7,8 @@ version 0.9.7 -- UNRELEASED
preliminary patch (Closes: #511299) preliminary patch (Closes: #511299)
. new reportinfo option: when set, messages sent by handlers with . new reportinfo option: when set, messages sent by handlers with
"info" are included in the report e-mail (closes #563734) "info" are included in the report e-mail (closes #563734)
. reportspace: skip non-directories and places that don't exist on the
local filesystem (Closes: #536049)
lib changes lib changes
easydialog: easydialog:
. Allow form fields input to grow up to 100 chars (Closes: #562249) . Allow form fields input to grow up to 100 chars (Closes: #562249)
......
...@@ -570,7 +570,7 @@ if [ $doit == 1 ]; then ...@@ -570,7 +570,7 @@ if [ $doit == 1 ]; then
previous="" previous=""
for i in $(ls "$configdirectory"); do for i in $(ls "$configdirectory"); do
backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}') backuploc=$(grep ^directory "$configdirectory"/"$i" | @AWK@ '{print $3}')
if [ "$backuploc" != "$previous" -a -n "$backuploc" ]; then if [ "$backuploc" != "$previous" -a -n "$backuploc" -a -d "$backuploc" ]; then
df -h "$backuploc" df -h "$backuploc"
previous="$backuploc" previous="$backuploc"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment