mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-03 15:28:28 +00:00
If there are no files to change, don't print an error
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
8290e414ce
commit
cd269cbca1
1 changed files with 1 additions and 1 deletions
|
@ -1082,7 +1082,7 @@ migrate_to_listsCache_dir() {
|
|||
fi
|
||||
|
||||
# Update the list's paths in the corresponding .sha1 files to the new location
|
||||
sed -i "s|${piholeDir}/|${listsCacheDir}/|g" "${listsCacheDir}"/*.sha1
|
||||
sed -i "s|${piholeDir}/|${listsCacheDir}/|g" "${listsCacheDir}"/*.sha1 2>/dev/null
|
||||
}
|
||||
|
||||
helpFunc() {
|
||||
|
|
Loading…
Add table
Reference in a new issue