diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-07-12 11:34:13 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-07-12 11:34:13 +0200 |
commit | 3d966a73ebaf7bb3c86e88095f1f3f1158d33f6b (patch) | |
tree | 3fa90738702750082f0b26bc2d334c0d7c6edb4b | |
parent | f14f3d53ef5484f99d4602ad578b2419c11a32e7 (diff) | |
download | bin-3d966a73ebaf7bb3c86e88095f1f3f1158d33f6b.tar.gz bin-3d966a73ebaf7bb3c86e88095f1f3f1158d33f6b.tar.xz |
dirsu: use exec
No need to keep old shells around
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | dirsu | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,4 +7,4 @@ else fi user="$(stat -c %U "$target")" cd "$target" -su "$user" -c "cd $PWD; bash" +exec su "$user" -c "cd $PWD; exec bash" |