We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f357610 commit 2e2f74bCopy full SHA for 2e2f74b
func/main.sh
@@ -223,7 +223,7 @@ is_object_suspended() {
223
spnd=$(grep "$2='$3'" $USER_DATA/$1.conf|grep "SUSPENDED='yes'")
224
fi
225
if [ -z "$spnd" ]; then
226
- echo "Error: $1 $3 is not suspended"
+ echo "Error: $(basename $1) $3 is not suspended"
227
log_event "$E_SUSPENDED" "$EVENT"
228
exit $E_SUSPENDED
229
@@ -237,7 +237,7 @@ is_object_unsuspended() {
237
238
239
if [ ! -z "$spnd" ]; then
240
- echo "Error: $1 $3 is already suspended"
+ echo "Error: $(basename $1) $3 is already suspended"
241
log_event "$E_UNSUSPENDED" "$EVENT"
242
exit $E_UNSUSPENDED
243
0 commit comments