Search Results

Search: Posts Made By: vacadepollo
4,897
Posted By vacadepollo
OOMMMGGG!!! I can't believe it XD OK, thank...
OOMMMGGG!!! I can't believe it XD

OK, thank for open my eyes, I'm feel really really stupid with this basic errors. Now works like a charm. Thanks!! :b:
4,897
Posted By vacadepollo
mmmm I know, but it happens. OK, my fault,...
mmmm I know, but it happens.

OK, my fault, sorry, EXITING is called from other function, this is the problem.

the "for" loop call "CHECKING" and then call "EXITING" , but only break the "for"...
4,897
Posted By vacadepollo
Ok I've found the problem. When EXITING is...
Ok I've found the problem.

When EXITING is called from a "for-done" loop doesn't work and only break it.
But if I call it in other situation works fine.

Is it a normal behavior? For future...
4,897
Posted By vacadepollo
I'm using busybox "BusyBox v1.19.4-cm9 bionic"...
I'm using busybox "BusyBox v1.19.4-cm9 bionic" included in the cyanogenmod 9 kernel.

I'm pretty sure that in others kernels/busybox this code is working flawless but I need to find an universal...
4,897
Posted By vacadepollo
[SOLVED] Problems with "exit" called from function in bourne script
Hi everyone.


#!/sbin/sh

EXITING()
{
umount /FOLDER
rm -Rf /FOLDER
echo "EXIT"
exit 0
}


EXITING

echo "OK"
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy