summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-21 09:40:11 +0100
committerRichard Jones <rjones@redhat.com>2009-04-21 09:40:11 +0100
commit6e19bf07700264ef7006f778cd555354e0b42fca (patch)
tree619475b5c2830f6cc61a24cb4700a422819d3441
parentb900dfdd10cab92a5c6978bc0f4db8f167ae82a9 (diff)
downloadfebootstrap-6e19bf07700264ef7006f778cd555354e0b42fca.tar.gz
febootstrap-6e19bf07700264ef7006f778cd555354e0b42fca.tar.xz
febootstrap-6e19bf07700264ef7006f778cd555354e0b42fca.zip
Another CDPATH fix (Ján ONDREJ (SAL)).
-rwxr-xr-xfebootstrap-to-initramfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/febootstrap-to-initramfs.sh b/febootstrap-to-initramfs.sh
index 5fa7f5e..6dfc3f9 100755
--- a/febootstrap-to-initramfs.sh
+++ b/febootstrap-to-initramfs.sh
@@ -25,7 +25,7 @@ if [ $# -ne 1 ]; then
exit 1
fi
-cd "$1"
+cd "$1" > /dev/null
if [ ! -f fakeroot.log -a $(id -u) -ne 0 ]; then
echo "no fakeroot.log and not running as root"