mirror of
https://github.com/sheumann/hush.git
synced 2024-10-29 20:27:40 +00:00
Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes
produce an error, due to a missing rc assignment.
This commit is contained in:
parent
399d45f1c6
commit
dbfb5a3cb7
@ -529,7 +529,8 @@ int mount_main(int argc, char **argv)
|
||||
|
||||
// Mount this thing.
|
||||
|
||||
if (singlemount(mtcur)) {
|
||||
rc = singlemount(mtcur);
|
||||
if(rc) {
|
||||
// Don't whine about already mounted fs when mounting all.
|
||||
// Note: we should probably change return value to indicate
|
||||
// failure, without causing a duplicate error message.
|
||||
|
Loading…
Reference in New Issue
Block a user