diff options
author | Padeso <padeso@duck.com> | 2024-12-29 17:35:02 +0000 |
---|---|---|
committer | Padeso <padeso@duck.com> | 2024-12-29 17:35:02 +0000 |
commit | a4d4403de273d3e1ee3456c878cee1ba99b090d9 (patch) | |
tree | f737aa780fb51dd27947bddcf7f651bf871ff676 | |
parent | 33bdbd42b5ba85144a3e702e2bf74bdb5e70c9c1 (diff) | |
download | non-empty-sites-a4d4403de273d3e1ee3456c878cee1ba99b090d9.tar.gz |
Fix error in site-scan
-rwxr-xr-x | site-scan | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site-scan b/site-scan index b4b8657..fd89e7b 100755 --- a/site-scan +++ b/site-scan @@ -11,7 +11,7 @@ function roll_files { NEXT=$((INDEX+1)) mv "$BASE.$INDEX" "$BASE.$NEXT" fi - INDEX=$((COUNT-1)) + INDEX=$((INDEX-1)) done if [ -f $BASE ]; then mv "$BASE" "$BASE.1" |