about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/wrappers/virsh-del
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/packages/scripts/wrappers/virsh-del')
-rwxr-xr-xhome-manager/packages/scripts/wrappers/virsh-del4
1 files changed, 0 insertions, 4 deletions
diff --git a/home-manager/packages/scripts/wrappers/virsh-del b/home-manager/packages/scripts/wrappers/virsh-del
index 1ec930bf..584c53c5 100755
--- a/home-manager/packages/scripts/wrappers/virsh-del
+++ b/home-manager/packages/scripts/wrappers/virsh-del
@@ -3,12 +3,8 @@
 # shellcheck source=/dev/null
 . %SHELL_LIBRARY_PATH
 
-LIB_TEMP_DIR_FOR_SCRIPT=$(mktemp -d);
-
 virsh destroy "$1"
 virsh undefine "$1" --nvram
 virsh vol-delete --pool default "$1".qcow2
 
 
-
-if [ -d "$LIB_TEMP_DIR_FOR_SCRIPT" ];then rm -r "$LIB_TEMP_DIR_FOR_SCRIPT"; fi