aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-01-11 12:54:33 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-01-11 12:54:33 +0300
commitb99beab2b48d3bc8130602d6e8907d8acb3deab3 (patch)
tree70fcccdf223ef5e82a7a3d784168fd24d62be71f
parentea2b52e374bf2c9194907640707aa0b4a31408a0 (diff)
downloadnixsap-b99beab2b48d3bc8130602d6e8907d8acb3deab3.tar.gz
mysqlbackup: explicit path for find
Shellcheck began to complain: SC2185: Some finds don't have a default path. Specify '.' explicitly
-rw-r--r--modules/apps/mysqlbackup.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apps/mysqlbackup.nix b/modules/apps/mysqlbackup.nix
index 038394b..113d176 100644
--- a/modules/apps/mysqlbackup.nix
+++ b/modules/apps/mysqlbackup.nix
@@ -317,7 +317,7 @@ let
log="${cfg.dumpDir}/$DATE/joblog.txt"
{
- cd '${privateDir}/jobs' && find -type l -printf '%P\n';
+ cd '${privateDir}/jobs' && ${pkgs.findutils}/bin/find . -type l -printf '%P\n';
} | ${pkgs.parallel}/bin/parallel \
--halt-on-error 0 \
--joblog "$log" \