diff options
| author | Louis Burda <contact@sinitax.com> | 2025-08-01 22:42:13 +0200 |
|---|---|---|
| committer | Louis Burda <contact@sinitax.com> | 2025-08-01 22:42:13 +0200 |
| commit | c467087d3ccebf722aee499e5d6c6811d6ae9401 (patch) | |
| tree | acb62c5623a5bb2c1e74ed9fe3dd830bb0472ee5 | |
| parent | c1a56185a17ecc8b88ea163e45f47ce9f3bb09f3 (diff) | |
| download | git-sync-c467087d3ccebf722aee499e5d6c6811d6ae9401.tar.gz git-sync-c467087d3ccebf722aee499e5d6c6811d6ae9401.zip | |
Check for swap file changes in config
| -rwxr-xr-x | git-syncd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ while true; do mod_path="$(realpath "$file" 2>/dev/null)" config_path="$(realpath "$GIT_SYNCD_CONFIG" 2>/dev/null)" echo "config $mod_path $config_path" - if [ "$mod_path" = "$config_path" ]; then + if [ "$mod_path" = "$config_path" -o "$mod_path" = "$config_path~" ]; then kill_watchers load_config start_watchers |
