rpm: assign a real shell to user monkeysphere
[monkeysphere.git] / tests / common
index a000c565a2d4b2045c2ad425307945598484596d..727ad0f33cec5cad0502ad0b6089f5447811408b 100644 (file)
@@ -4,7 +4,8 @@ failed_cleanup() {
     # FIXME: can we be more verbose here?
     echo 'FAILED!'
     if [ -z "$MONKEYSPHERE_TEST_NO_EXAMINE" ] ; then
-       read -p "press enter to cleanup and remove tmp (or type bash for a subshell to examine): " XX
+       printf "press enter to cleanup and remove tmp (or type 'bash' for a subshell to examine): " >&2
+       read XX
        if [ "$XX" = bash ] ; then
            echo "Entering subshell..."
            cd "$TEMPDIR"