... | ... |
@@ -142,7 +142,7 @@ function trap_exit () { |
142 | 142 |
else |
143 | 143 |
echo "nothing can be done with $database !" |
144 | 144 |
fi |
145 |
- rm -f $temppath/*-$tempid |
|
145 |
+ find $temppath -type f -name "*-$tempid" -delete |
|
146 | 146 |
} |
147 | 147 |
|
148 | 148 |
function update_database () { |