diff options
author | Andrew Cady <d@jerkface.net> | 2019-10-13 17:15:39 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2019-10-13 17:15:39 -0400 |
commit | b8c8de6d5105966695ae5ec64f0aae35f5473672 (patch) | |
tree | 14ec6a803c4503bd4ac52092d8a084607704b2a4 | |
parent | 8df42508ca8daaf798e118898d188103039b388f (diff) |
subvolify(): remove empty temp dir
-rw-r--r-- | dot/bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 | ||
394 | fkill() | 395 | fkill() |