commit 5db2a018607d8ed724b9d7f31c8e039695389b56 parent 4bb1818e93a6d0cbcc1654783a1aed7526226177 Author: sin <sin@2f30.org> Date: Tue, 16 Dec 2014 20:55:56 +0000 Remove useless fdclose script Diffstat:
D | fdclose | | | 13 | ------------- |
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/fdclose b/fdclose @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ ! $# -eq 1 ]; then - echo "usage: $(basename $0) <pid>" 2>&1 - exit 1 -fi - -for i in /proc/$1/fd/*; do - read -p "fd $i points to $(readlink $i) - close it?" - if [[ ${REPLY} = [yY] ]]; then - echo "p close($i)" | gdb -p $1 - fi -done