small fix, echo -> eerror
authorStefan Schweizer <genstef@gentoo.org>
Wed, 24 Jan 2007 09:10:45 +0000 (09:10 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Wed, 24 Jan 2007 09:10:45 +0000 (09:10 +0000)
Package-Manager: portage-2.1.2_rc4-r8

sys-fs/fuse/Manifest
sys-fs/fuse/files/fuse.init

index 24d6642aba8c48524b9bd2e4f4982ecc8731f100..e9292761f496372a4df100e8674cf392286b6ae0 100644 (file)
@@ -6,10 +6,10 @@ AUX fuse-fix-lazy-binding.patch 398 RMD160 e8663cdbf720378839bf3ac786a49a9927b81
 MD5 c1ef6366ba5892111ddef08887328663 files/fuse-fix-lazy-binding.patch 398
 RMD160 e8663cdbf720378839bf3ac786a49a9927b81afe files/fuse-fix-lazy-binding.patch 398
 SHA256 d9733aaece65a0c864edbfebae205cdec096174165e943a569adb216ec73f9e1 files/fuse-fix-lazy-binding.patch 398
-AUX fuse.init 869 RMD160 9baa604fbeef0877853a245d250eaaec3c71134c SHA1 5a95a321da2c1c2196a73108b993e73236d19e10 SHA256 f24be2ca20cbe7cac24f194dc86861a69595c3762528bb1b3bf764be45117435
-MD5 d62a8c5d6acda0b1a3921fcb0a11f94f files/fuse.init 869
-RMD160 9baa604fbeef0877853a245d250eaaec3c71134c files/fuse.init 869
-SHA256 f24be2ca20cbe7cac24f194dc86861a69595c3762528bb1b3bf764be45117435 files/fuse.init 869
+AUX fuse.init 877 RMD160 89b47233ccd7b14728809e79e4c9524a05ccca2a SHA1 188400d91e73fdf1a5704c822885659e39c4ded6 SHA256 c593454277048685662adc8f492a79ef13376c7efccc3397a63f50df3958ca8a
+MD5 b7f8564dde2503fa007e794f256e8886 files/fuse.init 877
+RMD160 89b47233ccd7b14728809e79e4c9524a05ccca2a files/fuse.init 877
+SHA256 c593454277048685662adc8f492a79ef13376c7efccc3397a63f50df3958ca8a files/fuse.init 877
 DIST fuse-2.6.0-rc1.tar.gz 435861 RMD160 c872c7835daf6b6f85342f5f05f36bb8c2f29aeb SHA1 0eff5d3d89012f9fd76ed8584b4f65d9d45af584 SHA256 f7046379088ff6bbceaaf989a9ec838f7bf8d7fd7833ffdecdc8a32dc5bd9dce
 DIST fuse-2.6.0.tar.gz 470514 RMD160 bf36a008d17fbb1169bfd7d077a53587df90ddb4 SHA1 23a6919b92d6a5935902c143baa7a1d19754e6a5 SHA256 782137879b964139e2dc4767114b763cb0e11ae322476404920cf767728e659e
 DIST fuse-2.6.1.tar.gz 472606 RMD160 99624de23edb634b5e92c86fb75fa266aeff5a65 SHA1 85ec4458d0ab2647b6b43605f0200006d89981ed SHA256 e5d039f1adcb5fcc16f5f3eb1c7d95918b62ace79f75d327c72707cafdd8be7c
index c9322cd83044ea24d6b00382e7c078299cb164ec..8cdc630c1f56e4315b8961cf106e1acb75095926 100644 (file)
@@ -12,7 +12,7 @@ start() {
 
        ebegin "Starting fuse"
        if ! grep -qw fuse /proc/filesystems; then
-               modprobe fuse >/dev/null 2>&1 || echo "Error loading fuse module"
+               modprobe fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module"
        fi
        if grep -qw fusectl /proc/filesystems && \
           ! grep -qw $MOUNTPOINT /proc/mounts; then
@@ -28,7 +28,7 @@ stop() {
        ebegin "Stopping fuse"
        if grep -qw $MOUNTPOINT /proc/mounts; then
                umount $MOUNTPOINT >/dev/null 2>&1 || \
-                       eerror "Error unmounting control filesystem"
+                       eerror $? "Error unmounting control filesystem"
        fi
        if grep -qw "^fuse" /proc/modules; then
                rmmod fuse >/dev/null 2>&1 || eerror $? "Error unloading fuse module"