diff options
author | Anand Jain <anand.jain@oracle.com> | 2021-08-13 09:59:32 +0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-08-15 23:51:19 +0800 |
commit | 705b0e60bcb7f9f27ed851fa2fb00abf06575022 (patch) | |
tree | fd58918ab690ee24f797316a1f2d46d2b3601f71 | |
parent | ca71bde9fd8b0dfbda79f92b6fe5d8c3889b4691 (diff) |
common/rc: debug add _scratch_mount_options to the _scratch_mount
When the _scratch_mount fails, there isn't any clue on why it failed
as of now, change this and add the $(_scratch_mount_options $*) to
the _fail.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rw-r--r-- | common/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -339,7 +339,7 @@ _try_scratch_mount() # mount scratch device with given options and _fail if mount fails _scratch_mount() { - _try_scratch_mount $* || _fail "mount failed" + _try_scratch_mount $* || _fail "mount $(_scratch_mount_options $*) failed" } _scratch_mount_idmapped() |