summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2019-10-13 17:15:39 -0400
committerAndrew Cady <d@jerkface.net>2019-10-13 17:15:39 -0400
commitb8c8de6d5105966695ae5ec64f0aae35f5473672 (patch)
tree14ec6a803c4503bd4ac52092d8a084607704b2a4
parent8df42508ca8daaf798e118898d188103039b388f (diff)
subvolify(): remove empty temp dir
-rw-r--r--dot/bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot/bashrc b/dot/bashrc
index e4d81b2..d45f398 100644
--- a/dot/bashrc
+++ b/dot/bashrc
@@ -389,6 +389,7 @@ subvolify()
389 sudo find "$path" -mindepth 1 -maxdepth 1 -print0 | xargs -0 mv -t "$path".subvol 389 sudo find "$path" -mindepth 1 -maxdepth 1 -print0 | xargs -0 mv -t "$path".subvol
390 mv "$path" "$path".subvol~ 390 mv "$path" "$path".subvol~
391 mv "$path".subvol "$path" 391 mv "$path".subvol "$path"
392 rmdir "$path".subvol~ || true
392} 393}
393 394
394fkill() 395fkill()